Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.001675/0.001675, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002234/0.002234, allocations: 291.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9295/0.9295, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 99.84 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3676, allocations: 86.97 MB / 0.767 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1519/0.5195, allocations: 161.1 MB / 0.9244 GB, free: 2.141 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03105/0.5506, allocations: 26.94 MB / 0.9507 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00252/0.5532, allocations: 75.62 kB / 0.9508 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00229/0.5555, allocations: 1.029 MB / 0.9518 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004403/0.5599, allocations: 1.761 MB / 0.9535 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004001/0.5639, allocations: 1.772 MB / 0.9552 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.3463/0.9102, allocations: 5.131 MB / 0.9602 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004622/0.9149, allocations: 4.375 MB / 0.9645 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003044/0.9179, allocations: 2.153 MB / 0.9666 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003103/0.9211, allocations: 2.572 MB / 0.9691 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0006558/0.9217, allocations: 483.7 kB / 0.9696 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001868/0.9236, allocations: 1.087 MB / 0.9706 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008168/0.9244, allocations: 1.241 MB / 0.9718 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001669/0.9261, allocations: 2.152 MB / 0.9739 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00463/0.9307, allocations: 6.132 MB / 0.9799 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.9308, allocations: 0 / 0.9799 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.382e-06/0.9308, allocations: 0.9062 kB / 0.9799 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.637e-05/0.9308, allocations: 2.656 kB / 0.9799 GB, free: 2.141 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: 851 * Number of variables: 851 Notification: Performance of Generate backend data structure: time 0.008087/0.9389, allocations: 4.746 MB / 0.9846 GB, free: 272 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.939, allocations: 9.312 kB / 0.9846 GB, free: 272 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01287/0.9519, allocations: 2.78 MB / 0.9873 GB, free: 48 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004223/0.9561, allocations: 2.391 MB / 0.9896 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.9563, allocations: 253.5 kB / 0.9899 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004971/0.9568, allocations: 327.8 kB / 0.9902 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009772/0.9665, allocations: 5.335 MB / 0.9954 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.899e-05/0.9666, allocations: 7.469 kB / 0.9954 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003698/0.967, allocations: 134.5 kB / 0.9955 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.372e-05/0.967, allocations: 83 kB / 0.9956 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01311/0.9802, allocations: 6.472 MB / 1.002 GB, free: 15.1 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.02385/1.004, allocations: 14.89 MB / 1.016 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009832/1.014, allocations: 4.866 MB / 1.021 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004908/1.019, allocations: 2.573 MB / 1.024 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008769/1.02, allocations: 0.6662 MB / 1.024 GB, free: 8.566 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00546/1.025, allocations: 2.711 MB / 1.027 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=291): time 5.51e-06/1.025, allocations: 0 / 1.027 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of matching and sorting (n=291): time 0.01905/1.044, allocations: 8 MB / 1.035 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/1.044, allocations: 210.2 kB / 1.035 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003311/1.048, allocations: 2.52 MB / 1.038 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0003156/1.048, allocations: 81.7 kB / 1.038 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001183/1.049, allocations: 1.399 MB / 1.039 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008907/1.05, allocations: 0.9561 MB / 1.04 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009824/1.051, allocations: 0.5207 MB / 1.04 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.378e-05/1.051, allocations: 305.1 kB / 1.041 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004908/1.056, allocations: 2.105 MB / 1.043 GB, free: 8.664 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005116/1.061, allocations: 2.412 MB / 1.045 GB, free: 6.18 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009777/1.071, allocations: 4.438 MB / 1.049 GB, free: 1.676 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/1.071, allocations: 0 / 1.049 GB, free: 1.676 MB / 0.7481 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01186/1.083, allocations: 5.252 MB / 1.055 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/1.083, allocations: 4 kB / 1.055 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/1.083, allocations: 4 kB / 1.055 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000836/1.084, allocations: 348.8 kB / 1.055 GB, free: 12.06 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004085/1.088, allocations: 0.8188 MB / 1.056 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005369/1.093, allocations: 4.227 MB / 1.06 GB, free: 6.93 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00404/1.097, allocations: 0.5635 MB / 1.06 GB, free: 6.363 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003079/1.098, allocations: 115.9 kB / 1.06 GB, free: 6.25 MB / 0.7637 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 (306): * Single equations (assignments): 305 * 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.00196/1.1, allocations: 0.9863 MB / 1.061 GB, free: 5.281 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006179/1.1, allocations: 287.5 kB / 1.062 GB, free: 5 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0134/1.114, allocations: 5.896 MB / 1.067 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.22e-05/1.114, allocations: 15.94 kB / 1.067 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/1.114, allocations: 0 / 1.067 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001926/1.116, allocations: 0.8636 MB / 1.068 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005406/1.116, allocations: 67.89 kB / 1.068 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003167/1.119, allocations: 422.4 kB / 1.069 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004601/1.12, allocations: 226 kB / 1.069 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01453/1.134, allocations: 5.694 MB / 1.075 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01701/1.152, allocations: 8.289 MB / 1.083 GB, free: 15.41 MB / 0.795 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005011/1.157, allocations: 2.435 MB / 1.085 GB, free: 12.96 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.003012/1.16, allocations: 1.837 MB / 1.087 GB, free: 11.11 MB / 0.795 GB Notification: Performance of Backend: time 4.3e-07/1.16, allocations: 0 / 1.087 GB, free: 11.11 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0108/1.17, allocations: 4.266 MB / 1.091 GB, free: 7.34 MB / 0.795 GB Notification: Performance of SimCode: time 0.01202/1.182, allocations: 7.127 MB / 1.098 GB, free: 212 kB / 0.795 GB Notification: Performance of Templates: time 0.09189/1.274, allocations: 60.53 MB / 1.157 GB, free: 4.242 MB / 0.8575 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)