Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001074/0.001074, allocations: 183.9 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.264/1.264, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00214/0.00214, allocations: 287.1 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.9067/0.9067, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 91.86 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3603, allocations: 86.98 MB / 0.767 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1536/0.5139, allocations: 160.5 MB / 0.9237 GB, free: 2.719 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02907/0.543, allocations: 26.77 MB / 0.9499 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001937/0.545, allocations: 71.62 kB / 0.9499 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00177/0.5468, allocations: 0.9829 MB / 0.9509 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003501/0.5503, allocations: 1.675 MB / 0.9525 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003399/0.5537, allocations: 1.713 MB / 0.9542 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.3446/0.8984, allocations: 4.865 MB / 0.959 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005877/0.9043, allocations: 4.202 MB / 0.9631 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003741/0.9081, allocations: 2.081 MB / 0.9651 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003103/0.9112, allocations: 2.462 MB / 0.9675 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0007022/0.9119, allocations: 461 kB / 0.9679 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001766/0.9137, allocations: 1.055 MB / 0.969 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007989/0.9145, allocations: 1.175 MB / 0.9701 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001498/0.916, allocations: 2.048 MB / 0.9721 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004115/0.9201, allocations: 5.844 MB / 0.9778 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.9201, allocations: 3.469 kB / 0.9778 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.273e-06/0.9201, allocations: 0 / 0.9778 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.254e-05/0.9202, allocations: 0 / 0.9778 GB, free: 2.266 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: 815 * Number of variables: 815 Notification: Performance of Generate backend data structure: time 0.007647/0.9278, allocations: 4.554 MB / 0.9823 GB, free: 464 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.9279, allocations: 8.688 kB / 0.9823 GB, free: 464 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01273/0.9406, allocations: 2.767 MB / 0.985 GB, free: 248 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003263/0.9439, allocations: 2.319 MB / 0.9872 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/0.944, allocations: 242.7 kB / 0.9875 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004563/0.9445, allocations: 315 kB / 0.9878 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009403/0.9539, allocations: 5.154 MB / 0.9928 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.366e-05/0.954, allocations: 4.75 kB / 0.9928 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003543/0.9543, allocations: 129.5 kB / 0.9929 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.145e-05/0.9544, allocations: 79.69 kB / 0.993 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0127/0.9671, allocations: 6.286 MB / 0.9992 GB, free: 15.31 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.02127/0.9884, allocations: 14.01 MB / 1.013 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009531/0.9979, allocations: 4.697 MB / 1.017 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004689/1.003, allocations: 2.44 MB / 1.02 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008575/1.004, allocations: 0.6715 MB / 1.02 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005106/1.009, allocations: 2.615 MB / 1.023 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=278): time 5.079e-06/1.009, allocations: 0 / 1.023 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of matching and sorting (n=278): time 0.01686/1.026, allocations: 7.401 MB / 1.03 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/1.026, allocations: 210.1 kB / 1.03 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003516/1.029, allocations: 2.419 MB / 1.033 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003616/1.03, allocations: 85.69 kB / 1.033 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001202/1.031, allocations: 1.355 MB / 1.034 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009083/1.032, allocations: 0.9051 MB / 1.035 GB, free: 368 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001017/1.033, allocations: 0.5047 MB / 1.036 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.044e-05/1.033, allocations: 301.1 kB / 1.036 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004816/1.038, allocations: 2.027 MB / 1.038 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005112/1.043, allocations: 2.339 MB / 1.04 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009702/1.052, allocations: 4.27 MB / 1.044 GB, free: 6.77 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/1.052, allocations: 0 / 1.044 GB, free: 6.77 MB / 0.7481 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.01156/1.064, allocations: 4.993 MB / 1.049 GB, free: 1.758 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/1.064, allocations: 7.938 kB / 1.049 GB, free: 1.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/1.064, allocations: 4 kB / 1.049 GB, free: 1.746 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006113/1.065, allocations: 231 kB / 1.049 GB, free: 1.52 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004082/1.069, allocations: 0.8108 MB / 1.05 GB, free: 0.7383 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004139/1.073, allocations: 3.38 MB / 1.054 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003728/1.077, allocations: 0.5558 MB / 1.054 GB, free: 12.69 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002896/1.077, allocations: 119.8 kB / 1.054 GB, free: 12.57 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 (300): * Single equations (assignments): 299 * 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 {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001819/1.079, allocations: 0.939 MB / 1.055 GB, free: 11.65 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006672/1.08, allocations: 276.6 kB / 1.055 GB, free: 11.38 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01316/1.093, allocations: 5.62 MB / 1.061 GB, free: 5.703 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-05/1.093, allocations: 11.95 kB / 1.061 GB, free: 5.691 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/1.093, allocations: 3.984 kB / 1.061 GB, free: 5.688 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001434/1.094, allocations: 0.8364 MB / 1.062 GB, free: 4.828 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005505/1.095, allocations: 63.89 kB / 1.062 GB, free: 4.766 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003208/1.098, allocations: 422.9 kB / 1.062 GB, free: 4.355 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004411/1.098, allocations: 217.1 kB / 1.062 GB, free: 4.145 MB / 0.7637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01354/1.112, allocations: 5.374 MB / 1.068 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01622/1.128, allocations: 8.005 MB / 1.075 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004709/1.133, allocations: 2.352 MB / 1.078 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002378/1.135, allocations: 1.769 MB / 1.079 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of Backend: time 3.51e-07/1.135, allocations: 4 kB / 1.079 GB, free: 2.539 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.009779/1.145, allocations: 4.116 MB / 1.083 GB, free: 14.91 MB / 0.795 GB Notification: Performance of SimCode: time 0.0103/1.155, allocations: 6.713 MB / 1.09 GB, free: 8.195 MB / 0.795 GB Notification: Performance of Templates: time 0.08281/1.238, allocations: 58.02 MB / 1.147 GB, free: 14.71 MB / 0.8575 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)