Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001729/0.001729, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00209/0.002091, allocations: 190.7 kB / 16.14 MB, free: 6.688 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.341/1.341, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.724/2.724, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 59.11 kB / 0.9113 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2923, allocations: 159.9 MB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1686/0.4609, allocations: 162.6 MB / 1.226 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6348/1.096, allocations: 27.6 MB / 1.253 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004684/1.1, allocations: 78.53 kB / 1.253 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003358/1.104, allocations: 1.052 MB / 1.254 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006169/1.11, allocations: 1.875 MB / 1.256 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005631/1.116, allocations: 1.832 MB / 1.258 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01015/1.126, allocations: 6.871 MB / 1.265 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007205/1.133, allocations: 4.345 MB / 1.269 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005587/1.139, allocations: 2.065 MB / 1.271 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00685/1.146, allocations: 2.808 MB / 1.274 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002671/1.148, allocations: 298.8 kB / 1.274 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005052/1.153, allocations: 0.9027 MB / 1.275 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001777/1.155, allocations: 1.144 MB / 1.276 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005675/1.161, allocations: 2.299 MB / 1.278 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009047/1.17, allocations: 6.881 MB / 1.285 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/1.17, allocations: 0 / 1.285 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.924e-06/1.17, allocations: 0 / 1.285 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002687/1.17, allocations: 0 / 1.285 GB, free: 2.953 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 989 * Number of variables: 989 Notification: Performance of Generate backend data structure: time 0.01677/1.187, allocations: 5.454 MB / 1.29 GB, free: 16.77 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/1.187, allocations: 8.562 kB / 1.29 GB, free: 16.77 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01504/1.202, allocations: 2.857 MB / 1.293 GB, free: 16.47 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006019/1.208, allocations: 2.625 MB / 1.296 GB, free: 15.79 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002453/1.209, allocations: 290 kB / 1.296 GB, free: 15.79 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001179/1.21, allocations: 384.8 kB / 1.296 GB, free: 15.78 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01454/1.224, allocations: 5.934 MB / 1.302 GB, free: 15.49 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-05/1.224, allocations: 7.906 kB / 1.302 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004575/1.225, allocations: 163 kB / 1.302 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.912e-05/1.225, allocations: 97.22 kB / 1.302 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01687/1.242, allocations: 7.039 MB / 1.309 GB, free: 15.41 MB / 1.014 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.03646/1.278, allocations: 18.64 MB / 1.327 GB, free: 7.41 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01093/1.289, allocations: 4.803 MB / 1.332 GB, free: 5.641 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006508/1.296, allocations: 3.067 MB / 1.335 GB, free: 4.113 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001104/1.297, allocations: 0.6804 MB / 1.336 GB, free: 3.402 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007086/1.304, allocations: 2.969 MB / 1.339 GB, free: 1.699 MB / 1.014 GB Notification: Performance of pre-optimization done (n=336): time 6.312e-06/1.304, allocations: 0 / 1.339 GB, free: 1.699 MB / 1.014 GB Notification: Performance of matching and sorting (n=336): time 0.02877/1.333, allocations: 10.17 MB / 1.349 GB, free: 12.39 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/1.333, allocations: 216.1 kB / 1.349 GB, free: 12.16 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005947/1.339, allocations: 2.798 MB / 1.351 GB, free: 10.78 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0009907/1.34, allocations: 89.98 kB / 1.352 GB, free: 10.7 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001817/1.342, allocations: 1.591 MB / 1.353 GB, free: 9.324 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001831/1.344, allocations: 1.105 MB / 1.354 GB, free: 8.375 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002728/1.346, allocations: 0.572 MB / 1.355 GB, free: 8.055 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001029/1.347, allocations: 305.1 kB / 1.355 GB, free: 7.754 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005703/1.352, allocations: 2.317 MB / 1.357 GB, free: 6.578 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006398/1.359, allocations: 2.674 MB / 1.36 GB, free: 3.863 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01245/1.371, allocations: 4.929 MB / 1.365 GB, free: 14.87 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.437e-05/1.371, allocations: 7.938 kB / 1.365 GB, free: 14.86 MB / 1.045 GB Notification: Performance of matching and sorting (n=383) (initialization): time 0.01691/1.388, allocations: 6.102 MB / 1.371 GB, free: 8.77 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/1.388, allocations: 4 kB / 1.371 GB, free: 8.766 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/1.388, allocations: 4 kB / 1.371 GB, free: 8.762 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001942/1.39, allocations: 0.824 MB / 1.372 GB, free: 7.938 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004963/1.395, allocations: 0.8548 MB / 1.372 GB, free: 7.113 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01094/1.406, allocations: 7.013 MB / 1.379 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005513/1.412, allocations: 0.6333 MB / 1.38 GB, free: 15.35 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009366/1.413, allocations: 127.9 kB / 1.38 GB, free: 15.23 MB / 1.061 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.003709/1.416, allocations: 1.086 MB / 1.381 GB, free: 14.16 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001611/1.418, allocations: 324 kB / 1.381 GB, free: 13.84 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01798/1.436, allocations: 6.755 MB / 1.388 GB, free: 7.062 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.038e-05/1.436, allocations: 36 kB / 1.388 GB, free: 7.027 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.145e-05/1.436, allocations: 8 kB / 1.388 GB, free: 7.02 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.286e-05/1.436, allocations: 27.86 kB / 1.388 GB, free: 6.992 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008677/1.445, allocations: 4.392 MB / 1.392 GB, free: 2.605 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.941e-05/1.445, allocations: 0 / 1.392 GB, free: 2.605 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004765/1.45, allocations: 0.7905 MB / 1.393 GB, free: 1.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002193/1.452, allocations: 0.7377 MB / 1.394 GB, free: 1.094 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008076/1.453, allocations: 91.92 kB / 1.394 GB, free: 1.004 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01164/1.464, allocations: 9.786 MB / 1.403 GB, free: 6.836 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/1.464, allocations: 0 / 1.403 GB, free: 6.836 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02453/1.489, allocations: 9.578 MB / 1.413 GB, free: 13.21 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003609/1.493, allocations: 0.9569 MB / 1.414 GB, free: 12.23 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002127/1.495, allocations: 78.89 kB / 1.414 GB, free: 12.16 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005377/1.5, allocations: 479.1 kB / 1.414 GB, free: 11.69 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001346/1.501, allocations: 246.4 kB / 1.414 GB, free: 11.45 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008858/1.502, allocations: 119.9 kB / 1.415 GB, free: 11.33 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.004249/1.507, allocations: 2.025 MB / 1.417 GB, free: 9.301 MB / 1.092 GB Notification: Performance of sort global known variables: time 5.71e-07/1.507, allocations: 0 / 1.417 GB, free: 9.301 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.006288/1.513, allocations: 1.329 MB / 1.418 GB, free: 7.969 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.m,thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.thermCapExt[1].T) * Number of discrete variables: 21 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDirTil[2].incAng.decAng.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 11 (intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (295): * Single equations (assignments): 280 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,49,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003323/1.516, allocations: 1.055 MB / 1.419 GB, free: 7.305 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01542/1.532, allocations: 5.816 MB / 1.425 GB, free: 1.492 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 8.455e-06/1.532, allocations: 4 kB / 1.425 GB, free: 1.488 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.00831/1.54, allocations: 3.483 MB / 1.428 GB, free: 14.03 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005581/1.546, allocations: 0.7728 MB / 1.429 GB, free: 13.27 MB / 1.107 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02319/1.569, allocations: 11.21 MB / 1.44 GB, free: 2.027 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004376/1.573, allocations: 2.778 MB / 1.442 GB, free: 15.22 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.006812/1.58, allocations: 1.207 MB / 1.444 GB, free: 14.01 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002277/1.582, allocations: 303.2 kB / 1.444 GB, free: 13.71 MB / 1.123 GB Notification: Performance of SimCode: time 7.92e-07/1.582, allocations: 0 / 1.444 GB, free: 13.71 MB / 1.123 GB Notification: Performance of Templates: time 0.09984/1.682, allocations: 57.18 MB / 1.5 GB, free: 5.172 MB / 1.17 GB make -j1 -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)