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.001545/0.001545, allocations: 114.6 kB / 16.42 MB, free: 6.02 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.001744/0.001744, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.325/1.325, 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.002066/0.002066, allocations: 280.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.9232/0.9232, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 103.9 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3738, allocations: 86.98 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.1572/0.531, allocations: 162.1 MB / 0.9253 GB, free: 1.199 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03219/0.5632, allocations: 27.2 MB / 0.9519 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002647/0.5659, allocations: 79.62 kB / 0.952 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002467/0.5684, allocations: 1.076 MB / 0.953 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004909/0.5733, allocations: 1.866 MB / 0.9548 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004337/0.5777, allocations: 1.865 MB / 0.9567 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.3582/0.9359, allocations: 5.518 MB / 0.962 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005153/0.941, allocations: 4.648 MB / 0.9666 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003366/0.9444, allocations: 2.279 MB / 0.9688 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002899/0.9473, allocations: 2.721 MB / 0.9715 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0006733/0.948, allocations: 0.5061 MB / 0.972 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001836/0.9499, allocations: 1.119 MB / 0.9731 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008402/0.9507, allocations: 1.316 MB / 0.9743 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001842/0.9526, allocations: 2.299 MB / 0.9766 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004935/0.9575, allocations: 6.532 MB / 0.983 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.9575, allocations: 3.938 kB / 0.983 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.352e-06/0.9575, allocations: 0 / 0.983 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.968e-05/0.9576, allocations: 1 kB / 0.983 GB, free: 1.902 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.008632/0.9663, allocations: 5.018 MB / 0.9879 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.9663, allocations: 8.531 kB / 0.9879 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01267/0.979, allocations: 2.809 MB / 0.9906 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00408/0.9831, allocations: 2.505 MB / 0.9931 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/0.9832, allocations: 262.6 kB / 0.9933 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005174/0.9838, allocations: 353 kB / 0.9937 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01021/0.994, allocations: 5.57 MB / 0.9991 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.348e-05/0.9941, allocations: 8.281 kB / 0.9991 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004359/0.9945, allocations: 146.8 kB / 0.9992 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.942e-05/0.9946, allocations: 89.83 kB / 0.9993 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01347/1.008, allocations: 6.709 MB / 1.006 GB, free: 14.73 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.02387/1.032, allocations: 16.07 MB / 1.022 GB, free: 9.09 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008173/1.04, allocations: 4.398 MB / 1.026 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004929/1.045, allocations: 2.778 MB / 1.029 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000849/1.046, allocations: 0.6734 MB / 1.029 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005654/1.052, allocations: 2.819 MB / 1.032 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=309): time 5.219e-06/1.052, allocations: 0 / 1.032 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of matching and sorting (n=309): time 0.02162/1.073, allocations: 8.841 MB / 1.041 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/1.073, allocations: 218.3 kB / 1.041 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003439/1.077, allocations: 2.643 MB / 1.043 GB, free: 7.785 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0003912/1.077, allocations: 81.7 kB / 1.043 GB, free: 7.699 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001202/1.078, allocations: 1.477 MB / 1.045 GB, free: 6.211 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000937/1.079, allocations: 1.015 MB / 1.046 GB, free: 5.207 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001009/1.08, allocations: 0.533 MB / 1.046 GB, free: 4.668 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 8.826e-05/1.08, allocations: 309.1 kB / 1.047 GB, free: 4.363 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005048/1.086, allocations: 2.191 MB / 1.049 GB, free: 2.168 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005243/1.091, allocations: 2.516 MB / 1.051 GB, free: 15.58 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009802/1.101, allocations: 4.644 MB / 1.056 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/1.101, allocations: 0 / 1.056 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01212/1.113, allocations: 5.613 MB / 1.061 GB, free: 5.262 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/1.113, allocations: 14.69 kB / 1.061 GB, free: 5.25 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/1.113, allocations: 7.094 kB / 1.061 GB, free: 5.246 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/1.114, allocations: 0.5453 MB / 1.062 GB, free: 4.699 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003994/1.118, allocations: 0.8275 MB / 1.063 GB, free: 3.898 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007725/1.126, allocations: 5.728 MB / 1.068 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00419/1.13, allocations: 0.5827 MB / 1.069 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003238/1.13, allocations: 123.9 kB / 1.069 GB, free: 13.34 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.002091/1.132, allocations: 1.017 MB / 1.07 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007724/1.133, allocations: 308.2 kB / 1.07 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01429/1.147, allocations: 6.246 MB / 1.076 GB, free: 5.758 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.481e-05/1.148, allocations: 19.94 kB / 1.076 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/1.148, allocations: 0 / 1.076 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002121/1.15, allocations: 0.9024 MB / 1.077 GB, free: 4.812 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005674/1.15, allocations: 79.78 kB / 1.077 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003229/1.153, allocations: 426.2 kB / 1.078 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005203/1.154, allocations: 250.2 kB / 1.078 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01504/1.169, allocations: 6.071 MB / 1.084 GB, free: 14.02 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01741/1.187, allocations: 8.648 MB / 1.092 GB, free: 5.301 MB / 0.795 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005001/1.192, allocations: 2.553 MB / 1.095 GB, free: 2.738 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002585/1.194, allocations: 1.915 MB / 1.097 GB, free: 0.8164 MB / 0.795 GB Notification: Performance of Backend: time 3.7e-07/1.194, allocations: 0 / 1.097 GB, free: 0.8164 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01046/1.205, allocations: 4.482 MB / 1.101 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of SimCode: time 0.01159/1.216, allocations: 7.637 MB / 1.109 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of Templates: time 0.09205/1.308, allocations: 64.1 MB / 1.171 GB, free: 5.723 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)