Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001174/0.001174, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4022/0.4022, allocations: 54.98 MB / 325.4 MB, free: 0.7344 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005781/0.0005782, allocations: 16 kB / 396.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3561, allocations: 60.72 MB / 457.3 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1545/0.5106, allocations: 128 MB / 0.5716 GB, free: 7.301 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0262/0.5369, allocations: 18.41 MB / 0.5896 GB, free: 4.867 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002485/0.5394, allocations: 43.75 kB / 0.5896 GB, free: 4.824 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0022/0.5416, allocations: 0.7742 MB / 0.5904 GB, free: 4.047 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004978/0.5466, allocations: 1.473 MB / 0.5918 GB, free: 2.574 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004213/0.5508, allocations: 1.189 MB / 0.593 GB, free: 1.398 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005498/0.5564, allocations: 2.624 MB / 0.5956 GB, free: 14.77 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003998/0.5604, allocations: 2.68 MB / 0.5982 GB, free: 12.08 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002302/0.5627, allocations: 1.202 MB / 0.5994 GB, free: 10.88 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002246/0.565, allocations: 1.517 MB / 0.6008 GB, free: 9.352 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003503/0.5653, allocations: 92 kB / 0.6009 GB, free: 9.262 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001688/0.567, allocations: 0.5384 MB / 0.6014 GB, free: 8.723 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006496/0.5677, allocations: 0.6381 MB / 0.6021 GB, free: 8.082 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007647/0.5685, allocations: 0.5897 MB / 0.6026 GB, free: 7.484 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004685/0.5732, allocations: 3.942 MB / 0.6065 GB, free: 3.539 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.5732, allocations: 0 / 0.6065 GB, free: 3.539 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5732, allocations: 0 / 0.6065 GB, free: 3.539 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001565/0.5734, allocations: 0 / 0.6065 GB, free: 3.539 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 761 * Number of variables: 761 Notification: Performance of Generate backend data structure: time 0.008746/0.5821, allocations: 3.593 MB / 0.61 GB, free: 15.88 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.5822, allocations: 8.031 kB / 0.61 GB, free: 15.87 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0139/0.5961, allocations: 2.788 MB / 0.6127 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004599/0.6007, allocations: 1.974 MB / 0.6147 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001818/0.6009, allocations: 225.8 kB / 0.6149 GB, free: 10.83 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006329/0.6016, allocations: 295.9 kB / 0.6152 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01077/0.6123, allocations: 4.777 MB / 0.6198 GB, free: 5.691 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.587e-05/0.6124, allocations: 0 / 0.6198 GB, free: 5.691 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003319/0.6128, allocations: 124 kB / 0.6199 GB, free: 5.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-05/0.6128, allocations: 75.98 kB / 0.62 GB, free: 5.496 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01466/0.6275, allocations: 5.957 MB / 0.6258 GB, free: 15.53 MB / 0.4981 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.02762/0.6552, allocations: 13.27 MB / 0.6388 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2439/0.8991, allocations: 4.465 MB / 0.6432 GB, free: 152.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007422/0.8999, allocations: 0.6733 MB / 0.6438 GB, free: 151.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004515/0.9044, allocations: 2.288 MB / 0.646 GB, free: 151.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=255): time 4.278e-06/0.9044, allocations: 0 / 0.646 GB, free: 151.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=255): time 0.01439/0.9188, allocations: 6.711 MB / 0.6526 GB, free: 150.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.276e-05/0.9189, allocations: 129.9 kB / 0.6527 GB, free: 150.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002593/0.9215, allocations: 2.212 MB / 0.6549 GB, free: 149.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003269/0.9219, allocations: 74.05 kB / 0.655 GB, free: 149.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008977/0.9228, allocations: 1.24 MB / 0.6562 GB, free: 148.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006618/0.9234, allocations: 0.8427 MB / 0.657 GB, free: 148.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.9236, allocations: 44.91 kB / 0.657 GB, free: 148.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.9237, allocations: 398 kB / 0.6574 GB, free: 147.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003952/0.9277, allocations: 1.805 MB / 0.6592 GB, free: 147.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004236/0.932, allocations: 2.08 MB / 0.6612 GB, free: 146.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004587/0.9366, allocations: 1.943 MB / 0.6631 GB, free: 146 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.9366, allocations: 1.969 kB / 0.6631 GB, free: 146 MB / 0.4981 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.01245/0.949, allocations: 4.502 MB / 0.6675 GB, free: 144.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.9491, allocations: 10.64 kB / 0.6675 GB, free: 144.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.9491, allocations: 4.031 kB / 0.6675 GB, free: 144.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007072/0.9499, allocations: 239.6 kB / 0.6677 GB, free: 144.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004115/0.954, allocations: 0.7679 MB / 0.6685 GB, free: 144.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003995/0.958, allocations: 3.169 MB / 0.6716 GB, free: 142.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003941/0.962, allocations: 0.4905 MB / 0.6721 GB, free: 142.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005034/0.9625, allocations: 102.1 kB / 0.6722 GB, free: 142.1 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.intGai.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (262): * Single equations (assignments): 261 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002306/0.9648, allocations: 0.8801 MB / 0.673 GB, free: 141.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000623/0.9654, allocations: 247.8 kB / 0.6733 GB, free: 141.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0132/0.9786, allocations: 5.125 MB / 0.6783 GB, free: 139.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.589e-05/0.9787, allocations: 23.38 kB / 0.6783 GB, free: 139.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.9787, allocations: 4.062 kB / 0.6783 GB, free: 139.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.753e-05/0.9788, allocations: 16.75 kB / 0.6783 GB, free: 139.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01936/0.9981, allocations: 8.575 MB / 0.6867 GB, free: 136.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.719e-05/0.9982, allocations: 5.719 kB / 0.6867 GB, free: 136.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004169/1.002, allocations: 0.7278 MB / 0.6874 GB, free: 136.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008299/1.003, allocations: 260 kB / 0.6876 GB, free: 136.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004372/1.004, allocations: 76.17 kB / 0.6877 GB, free: 136.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004035/1.008, allocations: 4.901 MB / 0.6925 GB, free: 132.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.008, allocations: 0 / 0.6925 GB, free: 132.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01503/1.023, allocations: 7.266 MB / 0.6996 GB, free: 129.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002327/1.025, allocations: 0.8074 MB / 0.7004 GB, free: 128.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005011/1.026, allocations: 51.14 kB / 0.7004 GB, free: 128.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002825/1.029, allocations: 378.3 kB / 0.7008 GB, free: 128.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003409/1.029, allocations: 158.6 kB / 0.7009 GB, free: 128.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000227/1.029, allocations: 104.6 kB / 0.701 GB, free: 128.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002057/1.031, allocations: 1.62 MB / 0.7026 GB, free: 127.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.031, allocations: 1.219 kB / 0.7026 GB, free: 127.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002708/1.034, allocations: 0.9427 MB / 0.7036 GB, free: 126.3 MB / 0.4981 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.conTim1.tStart,weaDat.conTim.tStart,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (245): * Single equations (assignments): 238 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 16,(1,100.0%) 3} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002236/1.036, allocations: 1.016 MB / 0.7045 GB, free: 125.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009548/1.046, allocations: 4.41 MB / 0.7089 GB, free: 121.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.046, allocations: 0 / 0.7089 GB, free: 121.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005072/1.051, allocations: 2.54 MB / 0.7113 GB, free: 118.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00264/1.054, allocations: 496.4 kB / 0.7118 GB, free: 118.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/1.066, allocations: 8.524 MB / 0.7201 GB, free: 109.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001584/1.068, allocations: 2.378 MB / 0.7225 GB, free: 107.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004238/1.072, allocations: 1.057 MB / 0.7235 GB, free: 106.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/1.073, allocations: 255.2 kB / 0.7237 GB, free: 106 MB / 0.4981 GB Notification: Performance of SimCode: time 1.012e-06/1.073, allocations: 0 / 0.7237 GB, free: 106 MB / 0.4981 GB Notification: Performance of Templates: time 0.05146/1.124, allocations: 38.75 MB / 0.7616 GB, free: 67.4 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1) Environment - environmentSimulation: