Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 181.6 kB / 16.08 MB, free: 5.602 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4301/0.4301, allocations: 89.07 MB / 105.9 MB, free: 12.46 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.226/1.226, allocations: 225.7 MB / 353.3 MB, free: 1.086 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007276/0.0007276, allocations: 95.92 kB / 425.4 MB, free: 6.648 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002974/0.0002975, allocations: 8 kB / 0.4955 GB, free: 4.535 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2729, allocations: 71.33 MB / 0.5652 GB, free: 42.35 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.3746/0.6476, allocations: 148.4 MB / 0.7101 GB, free: 2.762 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.02775/0.6754, allocations: 30 MB / 0.7394 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003221/0.6786, allocations: 68.88 kB / 0.7395 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002195/0.6809, allocations: 0.8996 MB / 0.7403 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.004635/0.6855, allocations: 1.514 MB / 0.7418 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003778/0.6893, allocations: 1.498 MB / 0.7433 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.006133/0.6954, allocations: 5.052 MB / 0.7482 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005117/0.7006, allocations: 3.478 MB / 0.7516 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002726/0.7034, allocations: 1.379 MB / 0.753 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003119/0.7065, allocations: 1.884 MB / 0.7548 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0005139/0.7071, allocations: 111.4 kB / 0.7549 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002162/0.7092, allocations: 0.6759 MB / 0.7556 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0007807/0.71, allocations: 0.7335 MB / 0.7563 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.002001/0.712, allocations: 1.558 MB / 0.7578 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.005743/0.7178, allocations: 5.308 MB / 0.763 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.7178, allocations: 3.281 kB / 0.763 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7178, allocations: 0 / 0.763 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001825/0.718, allocations: 0 / 0.763 GB, free: 8.656 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.007794/0.7258, allocations: 3.794 MB / 0.7667 GB, free: 6.332 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.7259, allocations: 11.56 kB / 0.7667 GB, free: 6.332 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01218/0.7381, allocations: 2.887 MB / 0.7695 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00461/0.7427, allocations: 2.262 MB / 0.7717 GB, free: 4.035 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001687/0.7429, allocations: 242.7 kB / 0.772 GB, free: 4.027 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007274/0.7437, allocations: 318.7 kB / 0.7723 GB, free: 4.023 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01141/0.7551, allocations: 5.158 MB / 0.7773 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.234e-05/0.7552, allocations: 2.906 kB / 0.7773 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000356/0.7555, allocations: 133.5 kB / 0.7774 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-05/0.7556, allocations: 79.98 kB / 0.7775 GB, free: 1.781 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01403/0.7696, allocations: 6.355 MB / 0.7837 GB, free: 12.82 MB / 0.5261 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.02664/0.7963, allocations: 14.56 MB / 0.7979 GB, free: 1.348 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009436/0.8058, allocations: 4.492 MB / 0.8023 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004866/0.8107, allocations: 2.48 MB / 0.8047 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009567/0.8117, allocations: 0.6798 MB / 0.8054 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005248/0.817, allocations: 2.457 MB / 0.8078 GB, free: 9.727 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=270): time 6.131e-06/0.817, allocations: 0 / 0.8078 GB, free: 9.727 MB / 0.5417 GB Notification: Performance of matching and sorting (n=270): time 0.01723/0.8342, allocations: 7.549 MB / 0.8152 GB, free: 3.793 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.8344, allocations: 217.3 kB / 0.8154 GB, free: 3.539 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003261/0.8376, allocations: 2.362 MB / 0.8177 GB, free: 1.75 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002966/0.838, allocations: 72.02 kB / 0.8178 GB, free: 1.707 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009715/0.8389, allocations: 1.355 MB / 0.8191 GB, free: 0.8672 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007633/0.8397, allocations: 0.8919 MB / 0.82 GB, free: 104 kB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/0.8399, allocations: 49.88 kB / 0.82 GB, free: 92 kB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.8401, allocations: 410 kB / 0.8204 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003981/0.8441, allocations: 1.958 MB / 0.8223 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004142/0.8482, allocations: 2.272 MB / 0.8245 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008224/0.8564, allocations: 4.226 MB / 0.8287 GB, free: 9.473 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.8565, allocations: 0 / 0.8287 GB, free: 9.473 MB / 0.5573 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01024/0.8667, allocations: 4.948 MB / 0.8335 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.939e-05/0.8668, allocations: 12.03 kB / 0.8335 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.8668, allocations: 4 kB / 0.8335 GB, free: 5.758 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009187/0.8678, allocations: 344.8 kB / 0.8338 GB, free: 5.492 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004331/0.8721, allocations: 0.784 MB / 0.8346 GB, free: 4.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004713/0.8769, allocations: 3.913 MB / 0.8384 GB, free: 1.824 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003828/0.8807, allocations: 0.5521 MB / 0.839 GB, free: 1.309 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000523/0.8813, allocations: 116.2 kB / 0.8391 GB, free: 1.215 MB / 0.5573 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 ($whenCondition1,$PRE.intGai.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (278): * Single equations (assignments): 277 * 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 {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001974/0.8832, allocations: 0.9312 MB / 0.84 GB, free: 0.5078 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005931/0.8838, allocations: 272.6 kB / 0.8402 GB, free: 244 kB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01248/0.8963, allocations: 5.528 MB / 0.8456 GB, free: 10.66 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.953e-05/0.8964, allocations: 31.94 kB / 0.8457 GB, free: 10.63 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.8964, allocations: 6.906 kB / 0.8457 GB, free: 10.62 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.272e-05/0.8964, allocations: 11.95 kB / 0.8457 GB, free: 10.61 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01761/0.9141, allocations: 9.29 MB / 0.8548 GB, free: 1.281 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.9141, allocations: 0 / 0.8548 GB, free: 1.281 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003336/0.9175, allocations: 0.7287 MB / 0.8555 GB, free: 0.5742 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009883/0.9185, allocations: 389.7 kB / 0.8558 GB, free: 192 kB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002396/0.9187, allocations: 71.94 kB / 0.8559 GB, free: 120 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005814/0.9245, allocations: 5.797 MB / 0.8616 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.9246, allocations: 3.938 kB / 0.8616 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01498/0.9396, allocations: 7.908 MB / 0.8693 GB, free: 2.07 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001576/0.9412, allocations: 0.8442 MB / 0.8701 GB, free: 1.203 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004373/0.9416, allocations: 51.94 kB / 0.8702 GB, free: 1.152 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002636/0.9442, allocations: 431.2 kB / 0.8706 GB, free: 0.7305 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003874/0.9446, allocations: 174 kB / 0.8707 GB, free: 0.5586 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002315/0.9449, allocations: 95.92 kB / 0.8708 GB, free: 476 kB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002124/0.947, allocations: 1.718 MB / 0.8725 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.7e-07/0.947, allocations: 0 / 0.8725 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002342/0.9494, allocations: 1.028 MB / 0.8735 GB, free: 13.7 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[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 (254): * Single equations (assignments): 247 * 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 {(3,25,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.002138/0.9515, allocations: 1.156 MB / 0.8746 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00941/0.9609, allocations: 4.79 MB / 0.8793 GB, free: 8.09 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.961, allocations: 0 / 0.8793 GB, free: 8.09 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.005027/0.966, allocations: 2.759 MB / 0.882 GB, free: 5.348 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002759/0.9688, allocations: 0.618 MB / 0.8826 GB, free: 4.734 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01385/0.9826, allocations: 9.449 MB / 0.8919 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002406/0.9851, allocations: 2.44 MB / 0.8942 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.004773/0.9898, allocations: 1.1 MB / 0.8953 GB, free: 7.672 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001604/0.9915, allocations: 261.8 kB / 0.8956 GB, free: 7.418 MB / 0.6198 GB Notification: Performance of SimCode: time 9.41e-07/0.9915, allocations: 4 kB / 0.8956 GB, free: 7.414 MB / 0.6198 GB Notification: Performance of Templates: time 0.07116/1.063, allocations: 43.62 MB / 0.9382 GB, free: 12.13 MB / 0.6667 GB make -j1 -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)