Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 78.09 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 156.7 kB / 23.01 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.439/1.439, allocations: 177.2 MB / 203.4 MB, free: 8.996 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8413/0.8413, allocations: 101.3 MB / 361.1 MB, free: 9.562 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8760,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8760,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 63 kB / 0.5356 GB, free: 5.277 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1557, allocations: 85.88 MB / 0.6195 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.5899/0.7456, allocations: 142.7 MB / 0.7589 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.05427/0.7999, allocations: 24.83 MB / 0.7831 GB, free: 4.805 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00469/0.8046, allocations: 107.3 kB / 0.7832 GB, free: 4.754 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004085/0.8087, allocations: 1.076 MB / 0.7843 GB, free: 3.977 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008203/0.8169, allocations: 1.824 MB / 0.7861 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00743/0.8243, allocations: 1.805 MB / 0.7878 GB, free: 1.16 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0114/0.8357, allocations: 5.277 MB / 0.793 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008912/0.8446, allocations: 3.303 MB / 0.7962 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006585/0.8512, allocations: 2.227 MB / 0.7984 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005326/0.8565, allocations: 2.683 MB / 0.801 GB, free: 8.551 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001599/0.8581, allocations: 486 kB / 0.8015 GB, free: 8.551 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003391/0.8615, allocations: 1.071 MB / 0.8025 GB, free: 8.262 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002177/0.8637, allocations: 1.262 MB / 0.8037 GB, free: 7.277 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.004273/0.868, allocations: 1.769 MB / 0.8055 GB, free: 6.07 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009589/0.8776, allocations: 6.332 MB / 0.8117 GB, free: 500 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.8776, allocations: 0 / 0.8117 GB, free: 500 kB / 0.6387 GB Notification: Performance of FrontEnd: time 1.903e-06/0.8776, allocations: 0 / 0.8117 GB, free: 500 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001695/0.8778, allocations: 0 / 0.8117 GB, free: 500 kB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.01135/0.8891, allocations: 4.836 MB / 0.8164 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.8891, allocations: 8.031 kB / 0.8164 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01754/0.9067, allocations: 3.168 MB / 0.8195 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006356/0.913, allocations: 2.374 MB / 0.8218 GB, free: 5.973 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002489/0.9133, allocations: 262.9 kB / 0.822 GB, free: 5.715 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007127/0.914, allocations: 332 kB / 0.8224 GB, free: 5.391 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01262/0.9266, allocations: 5.719 MB / 0.828 GB, free: 15.52 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-05/0.9267, allocations: 7.891 kB / 0.828 GB, free: 15.51 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000386/0.9271, allocations: 144 kB / 0.8281 GB, free: 15.37 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.609e-05/0.9272, allocations: 80 kB / 0.8282 GB, free: 15.29 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01636/0.9435, allocations: 6.483 MB / 0.8345 GB, free: 8.801 MB / 0.67 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.03043/0.974, allocations: 12.02 MB / 0.8462 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009971/0.9839, allocations: 3.845 MB / 0.85 GB, free: 8.816 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006275/0.9902, allocations: 2.46 MB / 0.8524 GB, free: 6.352 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007603/0.991, allocations: 134.2 kB / 0.8525 GB, free: 6.219 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006475/0.9974, allocations: 2.706 MB / 0.8552 GB, free: 3.441 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=288): time 7.494e-06/0.9974, allocations: 0 / 0.8552 GB, free: 3.441 MB / 0.6856 GB Notification: Performance of matching and sorting (n=288): time 0.02503/1.022, allocations: 8.133 MB / 0.8631 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001648/1.023, allocations: 214.2 kB / 0.8633 GB, free: 11 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004444/1.027, allocations: 2.292 MB / 0.8656 GB, free: 8.668 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0006923/1.028, allocations: 81.69 kB / 0.8656 GB, free: 8.582 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.00172/1.029, allocations: 1.476 MB / 0.8671 GB, free: 7.09 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001682/1.031, allocations: 1.011 MB / 0.8681 GB, free: 6.07 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002034/1.033, allocations: 0.5051 MB / 0.8686 GB, free: 5.559 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001517/1.033, allocations: 301.1 kB / 0.8688 GB, free: 5.262 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005848/1.039, allocations: 2.062 MB / 0.8709 GB, free: 3.195 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006735/1.046, allocations: 2.581 MB / 0.8734 GB, free: 0.4922 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01224/1.058, allocations: 4.438 MB / 0.8777 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.827e-05/1.058, allocations: 4 kB / 0.8777 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01595/1.074, allocations: 5.301 MB / 0.8829 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.528e-05/1.074, allocations: 6.344 kB / 0.8829 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/1.074, allocations: 4 kB / 0.8829 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001495/1.076, allocations: 0.5492 MB / 0.8834 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004679/1.08, allocations: 0.7917 MB / 0.8842 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009688/1.09, allocations: 5.478 MB / 0.8896 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004387/1.094, allocations: 0.5293 MB / 0.8901 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008326/1.095, allocations: 115.9 kB / 0.8902 GB, free: 15.03 MB / 0.7325 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 (282): * Single equations (assignments): 281 * 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 {(4,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003334/1.099, allocations: 0.9735 MB / 0.8911 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001337/1.1, allocations: 290 kB / 0.8914 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01868/1.119, allocations: 5.876 MB / 0.8971 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.826e-05/1.119, allocations: 28 kB / 0.8972 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.317e-05/1.119, allocations: 8 kB / 0.8972 GB, free: 7.793 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-05/1.119, allocations: 15.94 kB / 0.8972 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02467/1.143, allocations: 9.01 MB / 0.906 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/1.143, allocations: 3.938 kB / 0.906 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004452/1.148, allocations: 0.7567 MB / 0.9067 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001675/1.15, allocations: 0.5222 MB / 0.9072 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000621/1.15, allocations: 79.94 kB / 0.9073 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01044/1.161, allocations: 7.186 MB / 0.9143 GB, free: 5.875 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.161, allocations: 0 / 0.9143 GB, free: 5.875 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02251/1.183, allocations: 8.419 MB / 0.9226 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002457/1.186, allocations: 0.7804 MB / 0.9233 GB, free: 12.58 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008664/1.186, allocations: 63.89 kB / 0.9234 GB, free: 12.52 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003655/1.19, allocations: 399.4 kB / 0.9238 GB, free: 12.13 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006192/1.191, allocations: 202.1 kB / 0.924 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004481/1.191, allocations: 107.9 kB / 0.9241 GB, free: 11.82 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003175/1.194, allocations: 1.664 MB / 0.9257 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.2e-07/1.194, allocations: 0 / 0.9257 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003789/1.198, allocations: 1.153 MB / 0.9268 GB, free: 8.988 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.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 (263): * Single equations (assignments): 256 * 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 {(4,36,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.004293/1.202, allocations: 1.094 MB / 0.9279 GB, free: 8.305 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01353/1.216, allocations: 4.965 MB / 0.9327 GB, free: 3.301 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.415e-06/1.216, allocations: 8 kB / 0.9327 GB, free: 3.293 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.007619/1.224, allocations: 2.799 MB / 0.9355 GB, free: 476 kB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004512/1.228, allocations: 0.6939 MB / 0.9361 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01857/1.247, allocations: 8.449 MB / 0.9444 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00328/1.25, allocations: 2.026 MB / 0.9464 GB, free: 5.254 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.004826/1.255, allocations: 1.12 MB / 0.9475 GB, free: 4.129 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001716/1.257, allocations: 272.2 kB / 0.9477 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of SimCode: time 8.01e-07/1.257, allocations: 0 / 0.9477 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of Templates: time 0.09284/1.349, allocations: 50.32 MB / 0.9969 GB, free: 1.973 MB / 0.8262 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile [Timeout 660] (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.192983690067194] Failed to read output from testmodel.py, exit status != 0: 1.359859763062559 1.385864187 0.503108058 Calling exit ...