Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 99.08 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.001192/0.001192, allocations: 177.3 kB / 15.94 MB, free: 228 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.414/1.414, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.406/0.406, allocations: 54.98 MB / 325.4 MB, free: 0.7148 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.0005246/0.0005247, allocations: 12 kB / 396.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.328, allocations: 60.71 MB / 457.3 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1618/0.4899, allocations: 130.4 MB / 0.5739 GB, free: 4.945 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.031/0.5209, allocations: 19.29 MB / 0.5927 GB, free: 1.629 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003314/0.5243, allocations: 55.75 kB / 0.5928 GB, free: 1.574 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002694/0.527, allocations: 0.8725 MB / 0.5936 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006058/0.5331, allocations: 1.741 MB / 0.5953 GB, free: 14.96 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004541/0.5377, allocations: 1.42 MB / 0.5967 GB, free: 13.55 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00707/0.5447, allocations: 3.514 MB / 0.6002 GB, free: 10.03 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004789/0.5496, allocations: 3.214 MB / 0.6033 GB, free: 6.84 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003137/0.5527, allocations: 1.467 MB / 0.6047 GB, free: 5.367 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003403/0.5562, allocations: 1.883 MB / 0.6066 GB, free: 3.477 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006529/0.5569, allocations: 136 kB / 0.6067 GB, free: 3.344 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002176/0.559, allocations: 0.5827 MB / 0.6073 GB, free: 2.762 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008242/0.5599, allocations: 0.8094 MB / 0.6081 GB, free: 1.949 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0011/0.561, allocations: 0.7338 MB / 0.6088 GB, free: 1.207 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005749/0.5667, allocations: 4.916 MB / 0.6136 GB, free: 12.29 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.5668, allocations: 0 / 0.6136 GB, free: 12.29 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5668, allocations: 4 kB / 0.6136 GB, free: 12.28 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001873/0.567, allocations: 0 / 0.6136 GB, free: 12.28 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 933 * Number of variables: 933 Notification: Performance of Generate backend data structure: time 0.01041/0.5774, allocations: 4.26 MB / 0.6177 GB, free: 7.945 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.5775, allocations: 8.031 kB / 0.6177 GB, free: 7.938 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01496/0.5924, allocations: 2.877 MB / 0.6206 GB, free: 5.051 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006083/0.5986, allocations: 2.279 MB / 0.6228 GB, free: 2.699 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002451/0.5989, allocations: 279.3 kB / 0.623 GB, free: 2.426 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001395/0.6003, allocations: 356 kB / 0.6234 GB, free: 2.078 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01515/0.6154, allocations: 5.534 MB / 0.6288 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.794e-05/0.6156, allocations: 5.344 kB / 0.6288 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004966/0.6161, allocations: 152 kB / 0.6289 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-05/0.6162, allocations: 91.98 kB / 0.629 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01812/0.6343, allocations: 6.705 MB / 0.6356 GB, free: 5.531 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.278/0.9123, allocations: 16.99 MB / 0.6522 GB, free: 145.9 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/0.9225, allocations: 4.554 MB / 0.6566 GB, free: 144.9 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009503/0.9235, allocations: 0.6766 MB / 0.6573 GB, free: 144.2 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006588/0.9301, allocations: 2.638 MB / 0.6599 GB, free: 143.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=313): time 8.036e-06/0.9302, allocations: 0 / 0.6599 GB, free: 143.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=313): time 0.02618/0.9564, allocations: 9.396 MB / 0.669 GB, free: 140.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.584e-05/0.9565, allocations: 137.2 kB / 0.6692 GB, free: 140.4 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004264/0.9608, allocations: 2.561 MB / 0.6717 GB, free: 139.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001023/0.9618, allocations: 78.98 kB / 0.6717 GB, free: 139.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001953/0.9638, allocations: 1.499 MB / 0.6732 GB, free: 138.4 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001417/0.9652, allocations: 1.039 MB / 0.6742 GB, free: 137.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002158/0.9654, allocations: 52.16 kB / 0.6743 GB, free: 137.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.9656, allocations: 414.7 kB / 0.6747 GB, free: 137.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00543/0.9711, allocations: 2.089 MB / 0.6767 GB, free: 136.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006017/0.9771, allocations: 2.411 MB / 0.6791 GB, free: 135.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006322/0.9835, allocations: 2.27 MB / 0.6813 GB, free: 134.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.379e-05/0.9835, allocations: 1.094 kB / 0.6813 GB, free: 134.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=345) (initialization): time 0.01672/1, allocations: 5.586 MB / 0.6867 GB, free: 132.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/1, allocations: 8.719 kB / 0.6867 GB, free: 132.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/1, allocations: 6.328 kB / 0.6867 GB, free: 132.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002079/1.002, allocations: 0.7993 MB / 0.6875 GB, free: 132.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004356/1.007, allocations: 0.776 MB / 0.6883 GB, free: 132.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01038/1.017, allocations: 7.203 MB / 0.6953 GB, free: 128.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004436/1.022, allocations: 0.5432 MB / 0.6958 GB, free: 128.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007998/1.022, allocations: 118.5 kB / 0.696 GB, free: 128.3 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 (281): * Single equations (assignments): 280 * 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 {(5,100.0%) 60} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003396/1.026, allocations: 1.008 MB / 0.6969 GB, free: 127.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001329/1.027, allocations: 295.7 kB / 0.6972 GB, free: 127.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01515/1.042, allocations: 6.23 MB / 0.7033 GB, free: 124.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-05/1.042, allocations: 30.22 kB / 0.7033 GB, free: 124.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.108e-05/1.042, allocations: 11.25 kB / 0.7033 GB, free: 124.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.391e-05/1.043, allocations: 17.12 kB / 0.7034 GB, free: 124.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0208/1.063, allocations: 10.48 MB / 0.7136 GB, free: 114.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/1.063, allocations: 0 / 0.7136 GB, free: 114.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003911/1.067, allocations: 0.7339 MB / 0.7143 GB, free: 113.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001807/1.069, allocations: 0.7379 MB / 0.715 GB, free: 113.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000554/1.07, allocations: 87.89 kB / 0.7151 GB, free: 113 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009998/1.08, allocations: 10.04 MB / 0.7249 GB, free: 102.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.08, allocations: 4 kB / 0.7249 GB, free: 102.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01949/1.099, allocations: 8.791 MB / 0.7335 GB, free: 93.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002721/1.102, allocations: 0.9336 MB / 0.7344 GB, free: 92.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009821/1.103, allocations: 60.92 kB / 0.7345 GB, free: 92.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003558/1.107, allocations: 411.3 kB / 0.7349 GB, free: 92.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005898/1.107, allocations: 214.1 kB / 0.7351 GB, free: 92.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004213/1.108, allocations: 107.9 kB / 0.7352 GB, free: 91.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002877/1.111, allocations: 1.855 MB / 0.737 GB, free: 90.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/1.111, allocations: 4 kB / 0.737 GB, free: 90.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003917/1.115, allocations: 1.212 MB / 0.7382 GB, free: 88.86 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.m,thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.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 (264): * Single equations (assignments): 256 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 49,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002655/1.117, allocations: 1.017 MB / 0.7392 GB, free: 88.33 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01162/1.129, allocations: 5.346 MB / 0.7444 GB, free: 82.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/1.129, allocations: 3.859 kB / 0.7444 GB, free: 82.94 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00652/1.135, allocations: 3.27 MB / 0.7476 GB, free: 79.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00329/1.139, allocations: 0.6119 MB / 0.7482 GB, free: 79.05 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01596/1.155, allocations: 10.23 MB / 0.7582 GB, free: 68.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002698/1.157, allocations: 2.718 MB / 0.7608 GB, free: 66.03 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005308/1.163, allocations: 1.122 MB / 0.7619 GB, free: 64.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001717/1.164, allocations: 271.2 kB / 0.7622 GB, free: 64.64 MB / 0.4981 GB Notification: Performance of SimCode: time 1.223e-06/1.164, allocations: 3.938 kB / 0.7622 GB, free: 64.63 MB / 0.4981 GB Notification: Performance of Templates: time 0.07206/1.237, allocations: 48.95 MB / 0.81 GB, free: 15.88 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1) Environment - environmentSimulation: