Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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.001329/0.001329, allocations: 79.73 kB / 19.76 MB, free: 2.031 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.001424/0.001424, allocations: 157.5 kB / 23.01 MB, free: 4.945 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.51/1.51, allocations: 177.2 MB / 203.4 MB, free: 8.969 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.8649/0.8649, allocations: 101.3 MB / 361.1 MB, free: 9.551 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.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8760,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8760,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") [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.002196/0.002196, allocations: 67.3 kB / 0.5356 GB, free: 5.242 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.1885/0.1907, allocations: 85.88 MB / 0.6195 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.5758/0.7665, allocations: 143.9 MB / 0.76 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03899/0.8055, allocations: 25.23 MB / 0.7847 GB, free: 3.57 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004089/0.8096, allocations: 116.4 kB / 0.7848 GB, free: 3.516 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003007/0.8126, allocations: 1.15 MB / 0.7859 GB, free: 2.672 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006972/0.8196, allocations: 1.96 MB / 0.7878 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00629/0.8259, allocations: 1.998 MB / 0.7898 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009121/0.835, allocations: 5.912 MB / 0.7955 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006182/0.8412, allocations: 3.546 MB / 0.799 GB, free: 9.391 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005282/0.8465, allocations: 2.418 MB / 0.8014 GB, free: 8.004 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005719/0.8522, allocations: 2.901 MB / 0.8042 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001433/0.8536, allocations: 0.5233 MB / 0.8047 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003065/0.8567, allocations: 1.108 MB / 0.8058 GB, free: 5.891 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00175/0.8584, allocations: 1.391 MB / 0.8071 GB, free: 4.801 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003766/0.8622, allocations: 1.942 MB / 0.809 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01282/0.875, allocations: 6.888 MB / 0.8158 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.875, allocations: 3.938 kB / 0.8158 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.474e-06/0.875, allocations: 0 / 0.8158 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002476/0.8753, allocations: 7.938 kB / 0.8158 GB, free: 12.21 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01469/0.89, allocations: 5.193 MB / 0.8208 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.89, allocations: 8.031 kB / 0.8209 GB, free: 6.945 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01775/0.9078, allocations: 3.207 MB / 0.824 GB, free: 3.73 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007044/0.9148, allocations: 2.52 MB / 0.8264 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003939/0.9152, allocations: 279.5 kB / 0.8267 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001034/0.9162, allocations: 368 kB / 0.8271 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01465/0.9309, allocations: 6.062 MB / 0.833 GB, free: 10.31 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.641e-05/0.931, allocations: 7.953 kB / 0.833 GB, free: 10.3 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004318/0.9314, allocations: 156 kB / 0.8331 GB, free: 10.15 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.875e-05/0.9315, allocations: 95.94 kB / 0.8332 GB, free: 10.06 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01814/0.9496, allocations: 6.799 MB / 0.8399 GB, free: 3.25 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.03464/0.9843, allocations: 12.92 MB / 0.8525 GB, free: 6.219 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01255/0.9968, allocations: 4.217 MB / 0.8566 GB, free: 2.004 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01069/1.008, allocations: 2.709 MB / 0.8592 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001249/1.009, allocations: 138.3 kB / 0.8594 GB, free: 15.15 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01132/1.02, allocations: 2.858 MB / 0.8622 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=315): time 1.231e-05/1.02, allocations: 0 / 0.8622 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of matching and sorting (n=315): time 0.0318/1.052, allocations: 9.354 MB / 0.8713 GB, free: 2.812 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001882/1.052, allocations: 218.4 kB / 0.8715 GB, free: 2.555 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004995/1.057, allocations: 2.417 MB / 0.8739 GB, free: 112 kB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0007575/1.058, allocations: 85.58 kB / 0.874 GB, free: 20 kB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001986/1.06, allocations: 1.586 MB / 0.8755 GB, free: 14.42 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001874/1.062, allocations: 1.104 MB / 0.8766 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002167/1.064, allocations: 0.5409 MB / 0.8771 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000151/1.064, allocations: 301.1 kB / 0.8774 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006015/1.07, allocations: 2.187 MB / 0.8795 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006884/1.077, allocations: 2.776 MB / 0.8822 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01643/1.093, allocations: 4.712 MB / 0.8868 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.913e-05/1.093, allocations: 4 kB / 0.8869 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.018/1.111, allocations: 5.763 MB / 0.8925 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/1.111, allocations: 11.98 kB / 0.8925 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/1.111, allocations: 0 / 0.8925 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002179/1.114, allocations: 0.8376 MB / 0.8933 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004886/1.119, allocations: 0.8112 MB / 0.8941 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01341/1.132, allocations: 7.284 MB / 0.9012 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004941/1.137, allocations: 0.541 MB / 0.9017 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001022/1.138, allocations: 123.9 kB / 0.9019 GB, free: 3.031 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 (291): * Single equations (assignments): 290 * 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 {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004654/1.143, allocations: 1.02 MB / 0.9029 GB, free: 2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001811/1.144, allocations: 314 kB / 0.9032 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0194/1.164, allocations: 6.368 MB / 0.9094 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.15e-05/1.164, allocations: 32 kB / 0.9094 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-05/1.164, allocations: 8 kB / 0.9094 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.605e-05/1.164, allocations: 15.94 kB / 0.9094 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02749/1.191, allocations: 9.74 MB / 0.9189 GB, free: 1.367 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/1.191, allocations: 0 / 0.9189 GB, free: 1.367 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004502/1.196, allocations: 0.7723 MB / 0.9197 GB, free: 0.5938 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002185/1.198, allocations: 0.7391 MB / 0.9204 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007163/1.199, allocations: 83.94 kB / 0.9205 GB, free: 15.76 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01482/1.214, allocations: 10.14 MB / 0.9304 GB, free: 5.285 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/1.214, allocations: 0 / 0.9304 GB, free: 5.285 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02639/1.24, allocations: 9.058 MB / 0.9392 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003565/1.244, allocations: 0.8426 MB / 0.9401 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001642/1.245, allocations: 67.89 kB / 0.9401 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004396/1.25, allocations: 405.8 kB / 0.9405 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001039/1.251, allocations: 226.1 kB / 0.9407 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000771/1.251, allocations: 116.2 kB / 0.9408 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.003927/1.255, allocations: 1.746 MB / 0.9426 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of sort global known variables: time 8e-08/1.255, allocations: 0 / 0.9426 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.005699/1.261, allocations: 1.27 MB / 0.9438 GB, free: 7.473 MB / 0.7794 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.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 (273): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,49,100.0%), (1,3,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.004973/1.266, allocations: 1.106 MB / 0.9449 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01672/1.283, allocations: 5.337 MB / 0.9501 GB, free: 1.391 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.283, allocations: 4 kB / 0.9501 GB, free: 1.387 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.009251/1.292, allocations: 3.161 MB / 0.9532 GB, free: 14.18 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005624/1.298, allocations: 0.7222 MB / 0.9539 GB, free: 13.49 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02261/1.32, allocations: 9.085 MB / 0.9628 GB, free: 4.363 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004021/1.324, allocations: 2.173 MB / 0.9649 GB, free: 2.156 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.00547/1.33, allocations: 1.137 MB / 0.966 GB, free: 1.012 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001866/1.332, allocations: 272.3 kB / 0.9662 GB, free: 0.7422 MB / 0.795 GB Notification: Performance of SimCode: time 9.32e-07/1.332, allocations: 0 / 0.9662 GB, free: 0.7422 MB / 0.795 GB Notification: Performance of Templates: time 0.1177/1.449, allocations: 55.27 MB / 1.02 GB, free: 9.941 MB / 0.8575 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile [Timeout 660] (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.34352190606296] Failed to read output from testmodel.py, exit status != 0: 1.459625073010102 1.856284367 0.977703668 Calling exit ...