Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 111.2 kB / 16.42 MB, free: 6.516 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.001048/0.001048, allocations: 187.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.272/1.272, allocations: 222.9 MB / 241.1 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.002161/0.002161, allocations: 293.5 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.9343/0.9343, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 91.86 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3436, allocations: 86.98 MB / 0.767 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1541/0.4978, allocations: 163.4 MB / 0.9266 GB, free: 15.85 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03158/0.5294, allocations: 27.61 MB / 0.9536 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00252/0.5319, allocations: 83.62 kB / 0.9537 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002395/0.5344, allocations: 1.138 MB / 0.9548 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004622/0.539, allocations: 1.953 MB / 0.9567 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.3368/0.8758, allocations: 2.031 MB / 0.9587 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.007082/0.8829, allocations: 6.172 MB / 0.9647 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005256/0.8882, allocations: 4.986 MB / 0.9696 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003276/0.8915, allocations: 2.458 MB / 0.972 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00289/0.8944, allocations: 2.963 MB / 0.9749 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0007325/0.8951, allocations: 0.5511 MB / 0.9754 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001902/0.897, allocations: 1.16 MB / 0.9766 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008161/0.8979, allocations: 1.432 MB / 0.978 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001956/0.8998, allocations: 2.506 MB / 0.9804 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005344/0.9052, allocations: 7.086 MB / 0.9873 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.9052, allocations: 0.8125 kB / 0.9873 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9052, allocations: 1.781 kB / 0.9873 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001149/0.9053, allocations: 0.875 kB / 0.9873 GB, free: 1.426 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: 987 * Number of variables: 987 Notification: Performance of Generate backend data structure: time 0.009228/0.9146, allocations: 5.373 MB / 0.9926 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.9146, allocations: 8.5 kB / 0.9926 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01307/0.9277, allocations: 2.85 MB / 0.9954 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003809/0.9315, allocations: 2.643 MB / 0.9979 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001524/0.9317, allocations: 292.2 kB / 0.9982 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005818/0.9323, allocations: 379.3 kB / 0.9986 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01071/0.943, allocations: 5.923 MB / 1.004 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.121e-05/0.9431, allocations: 6.844 kB / 1.004 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004054/0.9435, allocations: 156.2 kB / 1.005 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.803e-05/0.9435, allocations: 93.16 kB / 1.005 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01384/0.9574, allocations: 7.034 MB / 1.011 GB, free: 14.09 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.02476/0.9822, allocations: 17.73 MB / 1.029 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00962/0.9918, allocations: 4.794 MB / 1.033 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005805/0.9976, allocations: 3.063 MB / 1.036 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009049/0.9985, allocations: 0.6789 MB / 1.037 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006068/1.005, allocations: 2.971 MB / 1.04 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=336): time 5.591e-06/1.005, allocations: 0 / 1.04 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of matching and sorting (n=336): time 0.02507/1.03, allocations: 10.16 MB / 1.05 GB, free: 0.793 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/1.03, allocations: 214.6 kB / 1.05 GB, free: 0.5391 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003377/1.033, allocations: 2.776 MB / 1.053 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002962/1.034, allocations: 89.69 kB / 1.053 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001238/1.035, allocations: 1.584 MB / 1.055 GB, free: 12.06 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009267/1.036, allocations: 1.102 MB / 1.056 GB, free: 10.97 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001045/1.037, allocations: 0.5914 MB / 1.056 GB, free: 10.38 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 8.43e-05/1.037, allocations: 303.8 kB / 1.056 GB, free: 10.08 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004995/1.042, allocations: 2.313 MB / 1.059 GB, free: 7.762 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005322/1.047, allocations: 2.668 MB / 1.061 GB, free: 5.02 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01024/1.057, allocations: 4.913 MB / 1.066 GB, free: 40 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/1.057, allocations: 4 kB / 1.066 GB, free: 36 kB / 0.7637 GB Notification: Performance of matching and sorting (n=383) (initialization): time 0.01283/1.07, allocations: 6.095 MB / 1.072 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/1.07, allocations: 4 kB / 1.072 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/1.07, allocations: 4 kB / 1.072 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001692/1.072, allocations: 0.8279 MB / 1.073 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004252/1.076, allocations: 0.8424 MB / 1.074 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01004/1.086, allocations: 7.575 MB / 1.081 GB, free: 0.6211 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003871/1.09, allocations: 0.606 MB / 1.082 GB, free: 12 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003095/1.091, allocations: 136.2 kB / 1.082 GB, free: 15.88 MB / 0.795 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 (319): * Single equations (assignments): 318 * 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 {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002003/1.093, allocations: 1.079 MB / 1.083 GB, free: 14.83 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006072/1.093, allocations: 316.1 kB / 1.083 GB, free: 14.52 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01442/1.108, allocations: 6.751 MB / 1.09 GB, free: 7.742 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.272e-05/1.108, allocations: 15.94 kB / 1.09 GB, free: 7.727 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/1.108, allocations: 3.984 kB / 1.09 GB, free: 7.723 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001482/1.109, allocations: 0.953 MB / 1.091 GB, free: 6.746 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005396/1.11, allocations: 79.89 kB / 1.091 GB, free: 6.668 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003269/1.113, allocations: 427.4 kB / 1.091 GB, free: 6.25 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004976/1.113, allocations: 278.3 kB / 1.091 GB, free: 5.977 MB / 0.795 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01554/1.129, allocations: 6.58 MB / 1.098 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01761/1.147, allocations: 9.15 MB / 1.107 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005149/1.152, allocations: 2.703 MB / 1.109 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002481/1.154, allocations: 2.009 MB / 1.111 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of Backend: time 2.6e-07/1.154, allocations: 0 / 1.111 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0105/1.165, allocations: 4.767 MB / 1.116 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of SimCode: time 0.01122/1.176, allocations: 8.332 MB / 1.124 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of Templates: time 0.09558/1.272, allocations: 68.6 MB / 1.191 GB, free: 0.9414 MB / 0.8887 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)