Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 191.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7676/0.7676, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 64.3 kB / 0.5018 GB, free: 3.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4447/0.446, allocations: 80.2 MB / 0.5801 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1841/0.6301, allocations: 160.1 MB / 0.7364 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03135/0.6615, allocations: 26.61 MB / 0.7624 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003591/0.6651, allocations: 75.62 kB / 0.7625 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002123/0.6673, allocations: 0.9752 MB / 0.7634 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004581/0.6719, allocations: 1.612 MB / 0.765 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003694/0.6756, allocations: 1.631 MB / 0.7666 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004692/0.6803, allocations: 4.561 MB / 0.7711 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004272/0.6846, allocations: 4.102 MB / 0.7751 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002775/0.6874, allocations: 1.926 MB / 0.777 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002768/0.6902, allocations: 2.324 MB / 0.7792 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0007059/0.6909, allocations: 424 kB / 0.7796 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002046/0.6929, allocations: 1.011 MB / 0.7806 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001182/0.6941, allocations: 1.102 MB / 0.7817 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002352/0.6965, allocations: 1.932 MB / 0.7836 GB, free: 436 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006846/0.7033, allocations: 5.398 MB / 0.7889 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.7034, allocations: 3.938 kB / 0.7889 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.785e-06/0.7034, allocations: 7.922 kB / 0.7889 GB, free: 11 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001188/0.7035, allocations: 0 / 0.7889 GB, free: 11 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.008723/0.7122, allocations: 4.293 MB / 0.7931 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.7123, allocations: 8.031 kB / 0.7931 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0132/0.7255, allocations: 2.753 MB / 0.7957 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004527/0.7301, allocations: 2.168 MB / 0.7979 GB, free: 1.645 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/0.7303, allocations: 238.1 kB / 0.7981 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005195/0.7308, allocations: 304 kB / 0.7984 GB, free: 1.113 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01046/0.7413, allocations: 4.963 MB / 0.8032 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.197e-05/0.7413, allocations: 0 / 0.8032 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003235/0.7417, allocations: 131.9 kB / 0.8034 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-05/0.7417, allocations: 76 kB / 0.8034 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01353/0.7553, allocations: 6.103 MB / 0.8094 GB, free: 5.746 MB / 0.6387 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.323/1.078, allocations: 13.64 MB / 0.8227 GB, free: 211.1 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01001/1.088, allocations: 4.354 MB / 0.827 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004815/1.093, allocations: 2.317 MB / 0.8292 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007802/1.094, allocations: 0.6647 MB / 0.8299 GB, free: 208.4 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004794/1.099, allocations: 2.372 MB / 0.8322 GB, free: 207.5 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=257): time 4.578e-06/1.099, allocations: 0 / 0.8322 GB, free: 207.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=257): time 0.01582/1.115, allocations: 6.944 MB / 0.839 GB, free: 203.9 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.587e-05/1.115, allocations: 207.3 kB / 0.8392 GB, free: 203.7 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002749/1.118, allocations: 2.314 MB / 0.8414 GB, free: 202.5 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000307/1.118, allocations: 73.55 kB / 0.8415 GB, free: 202.4 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008505/1.119, allocations: 1.298 MB / 0.8428 GB, free: 201.4 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005833/1.119, allocations: 0.8537 MB / 0.8436 GB, free: 200.6 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007722/1.12, allocations: 479.6 kB / 0.8441 GB, free: 200.4 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.723e-05/1.12, allocations: 301.1 kB / 0.8443 GB, free: 200.1 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003884/1.124, allocations: 1.892 MB / 0.8462 GB, free: 199.1 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004024/1.128, allocations: 2.186 MB / 0.8483 GB, free: 197.9 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00756/1.136, allocations: 4.064 MB / 0.8523 GB, free: 195.6 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.874e-06/1.136, allocations: 0 / 0.8523 GB, free: 195.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.009154/1.145, allocations: 4.703 MB / 0.8569 GB, free: 190.8 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/1.145, allocations: 8 kB / 0.8569 GB, free: 190.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/1.145, allocations: 4 kB / 0.8569 GB, free: 190.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005723/1.146, allocations: 236.6 kB / 0.8571 GB, free: 190.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003363/1.149, allocations: 0.7683 MB / 0.8579 GB, free: 189.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003064/1.152, allocations: 3.372 MB / 0.8612 GB, free: 186.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003413/1.155, allocations: 0.5246 MB / 0.8617 GB, free: 185.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002226/1.156, allocations: 103.9 kB / 0.8618 GB, free: 185.7 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (272): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00159/1.157, allocations: 0.9007 MB / 0.8627 GB, free: 184.8 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004715/1.158, allocations: 252.8 kB / 0.8629 GB, free: 184.5 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01008/1.168, allocations: 5.264 MB / 0.868 GB, free: 179.2 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/1.168, allocations: 35.92 kB / 0.8681 GB, free: 179.1 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/1.168, allocations: 3.938 kB / 0.8681 GB, free: 179.1 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.203e-05/1.168, allocations: 17.27 kB / 0.8681 GB, free: 179.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01408/1.182, allocations: 8.831 MB / 0.8767 GB, free: 170.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/1.182, allocations: 0 / 0.8767 GB, free: 170.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003179/1.185, allocations: 0.7215 MB / 0.8774 GB, free: 169.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006835/1.186, allocations: 267 kB / 0.8777 GB, free: 169.2 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002023/1.186, allocations: 75.92 kB / 0.8778 GB, free: 169.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003461/1.19, allocations: 5.231 MB / 0.8829 GB, free: 163.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.19, allocations: 3.938 kB / 0.8829 GB, free: 163.6 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01359/1.203, allocations: 7.529 MB / 0.8902 GB, free: 156 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001372/1.205, allocations: 0.7704 MB / 0.891 GB, free: 155.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005939/1.205, allocations: 59.83 kB / 0.891 GB, free: 155.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002899/1.208, allocations: 397.1 kB / 0.8914 GB, free: 154.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003816/1.208, allocations: 165.9 kB / 0.8916 GB, free: 154.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002197/1.209, allocations: 91.92 kB / 0.8916 GB, free: 154.5 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002291/1.211, allocations: 1.689 MB / 0.8933 GB, free: 152.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/1.211, allocations: 0 / 0.8933 GB, free: 152.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002676/1.214, allocations: 0.9622 MB / 0.8942 GB, free: 151.9 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.thermCapExt[1].T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 244 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,16,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002396/1.216, allocations: 1.037 MB / 0.8952 GB, free: 151.3 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01628/1.232, allocations: 7.768 MB / 0.9028 GB, free: 143.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.232, allocations: 0 / 0.9028 GB, free: 143.5 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005292/1.238, allocations: 2.607 MB / 0.9054 GB, free: 140.9 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003716/1.242, allocations: 0.6371 MB / 0.906 GB, free: 140.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/1.254, allocations: 7.553 MB / 0.9134 GB, free: 132.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001977/1.256, allocations: 2.366 MB / 0.9157 GB, free: 130.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004348/1.261, allocations: 1.094 MB / 0.9168 GB, free: 129.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001306/1.262, allocations: 259.2 kB / 0.917 GB, free: 129 MB / 0.6387 GB Notification: Performance of SimCode: time 6.11e-07/1.262, allocations: 0 / 0.917 GB, free: 129 MB / 0.6387 GB Notification: Performance of Templates: time 0.06005/1.322, allocations: 43.49 MB / 0.9595 GB, free: 85.82 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)