Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001348/0.001349, allocations: 190.7 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002105/0.002105, allocations: 289.4 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9264/0.9264, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 103.8 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.366, allocations: 86.97 MB / 0.767 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.1573/0.5233, allocations: 162.1 MB / 0.9253 GB, free: 1.25 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0393/0.5627, allocations: 27.21 MB / 0.9519 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003661/0.5664, allocations: 83.56 kB / 0.952 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004122/0.5706, allocations: 1.068 MB / 0.953 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00862/0.5792, allocations: 1.815 MB / 0.9548 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007758/0.587, allocations: 1.858 MB / 0.9566 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.4236/1.011, allocations: 5.52 MB / 0.962 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006415/1.017, allocations: 4.645 MB / 0.9665 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004026/1.021, allocations: 2.279 MB / 0.9688 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003906/1.025, allocations: 2.715 MB / 0.9714 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001345/1.026, allocations: 0.5047 MB / 0.9719 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00281/1.029, allocations: 1.133 MB / 0.973 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001113/1.03, allocations: 1.308 MB / 0.9743 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002198/1.033, allocations: 2.298 MB / 0.9765 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004954/1.037, allocations: 6.538 MB / 0.9829 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/1.037, allocations: 0 / 0.9829 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.372e-06/1.037, allocations: 0 / 0.9829 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.098e-05/1.038, allocations: 0.7812 kB / 0.9829 GB, free: 1.879 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 907 * Number of variables: 907 Notification: Performance of Generate backend data structure: time 0.008651/1.046, allocations: 5.017 MB / 0.9878 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/1.046, allocations: 10.75 kB / 0.9878 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01286/1.059, allocations: 2.809 MB / 0.9906 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003822/1.063, allocations: 2.506 MB / 0.993 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/1.063, allocations: 275.6 kB / 0.9933 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000525/1.064, allocations: 340.8 kB / 0.9936 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0121/1.076, allocations: 5.579 MB / 0.999 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.09e-05/1.076, allocations: 3.094 kB / 0.999 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000457/1.076, allocations: 149.1 kB / 0.9992 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.931e-05/1.076, allocations: 89.12 kB / 0.9993 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01416/1.091, allocations: 6.708 MB / 1.006 GB, free: 14.7 MB / 0.7325 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.02486/1.115, allocations: 16.07 MB / 1.022 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008262/1.124, allocations: 4.393 MB / 1.026 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004997/1.129, allocations: 2.779 MB / 1.029 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008786/1.13, allocations: 0.6766 MB / 1.029 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005789/1.135, allocations: 2.813 MB / 1.032 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=309): time 5.27e-06/1.136, allocations: 4 kB / 1.032 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of matching and sorting (n=309): time 0.02166/1.157, allocations: 8.844 MB / 1.041 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/1.157, allocations: 214.4 kB / 1.041 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00344/1.161, allocations: 2.639 MB / 1.043 GB, free: 7.906 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0003375/1.161, allocations: 93.69 kB / 1.043 GB, free: 7.809 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001211/1.162, allocations: 1.471 MB / 1.045 GB, free: 6.324 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009297/1.163, allocations: 1.011 MB / 1.046 GB, free: 5.324 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009995/1.164, allocations: 0.5408 MB / 1.046 GB, free: 4.777 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 8.819e-05/1.164, allocations: 305.1 kB / 1.047 GB, free: 4.477 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004978/1.169, allocations: 2.187 MB / 1.049 GB, free: 2.285 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005239/1.175, allocations: 2.52 MB / 1.051 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01006/1.185, allocations: 4.641 MB / 1.056 GB, free: 10.99 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/1.185, allocations: 4 kB / 1.056 GB, free: 10.99 MB / 0.7637 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01244/1.197, allocations: 5.612 MB / 1.061 GB, free: 5.379 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/1.197, allocations: 11.94 kB / 1.061 GB, free: 5.367 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/1.197, allocations: 8.156 kB / 1.061 GB, free: 5.359 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001211/1.198, allocations: 0.5413 MB / 1.062 GB, free: 4.816 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004176/1.203, allocations: 0.8305 MB / 1.063 GB, free: 4.016 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007841/1.21, allocations: 5.723 MB / 1.068 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004526/1.215, allocations: 0.5867 MB / 1.069 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006699/1.216, allocations: 119.9 kB / 1.069 GB, free: 13.46 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,$PRE.HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,$PRE.HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,$PRE.HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,$PRE.HDifTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (310): * Single equations (assignments): 309 * 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.002772/1.218, allocations: 1.024 MB / 1.07 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00111/1.22, allocations: 304.2 kB / 1.07 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01522/1.235, allocations: 6.261 MB / 1.076 GB, free: 5.863 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.62e-05/1.235, allocations: 15.94 kB / 1.076 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/1.235, allocations: 0 / 1.076 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001818/1.237, allocations: 0.9063 MB / 1.077 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007366/1.237, allocations: 79.77 kB / 1.077 GB, free: 4.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00351/1.241, allocations: 423.4 kB / 1.078 GB, free: 4.426 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004975/1.242, allocations: 246.2 kB / 1.078 GB, free: 4.184 MB / 0.7794 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01535/1.257, allocations: 6.066 MB / 1.084 GB, free: 14.13 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01754/1.274, allocations: 8.645 MB / 1.092 GB, free: 5.418 MB / 0.795 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005119/1.28, allocations: 2.556 MB / 1.095 GB, free: 2.852 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002867/1.282, allocations: 1.915 MB / 1.097 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of Backend: time 4.81e-07/1.282, allocations: 0 / 1.097 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01105/1.293, allocations: 4.482 MB / 1.101 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of SimCode: time 0.01249/1.306, allocations: 7.641 MB / 1.109 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of Templates: time 0.09642/1.402, allocations: 64.09 MB / 1.171 GB, free: 5.832 MB / 0.8731 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)