Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/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.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001466/0.001466, 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.001638/0.001638, allocations: 197.9 kB / 16.14 MB, free: 6.695 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.367/1.367, allocations: 222.9 MB / 239.8 MB, free: 4.66 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.783/2.783, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 59.83 kB / 0.9113 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2847, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1617/0.4465, allocations: 159.6 MB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6046/1.051, allocations: 26.77 MB / 1.25 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003051/1.054, allocations: 66.84 kB / 1.25 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00289/1.057, allocations: 0.92 MB / 1.25 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0051/1.062, allocations: 1.615 MB / 1.252 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004182/1.066, allocations: 1.531 MB / 1.254 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008175/1.075, allocations: 5.458 MB / 1.259 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005688/1.08, allocations: 3.73 MB / 1.263 GB, free: 21.05 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004446/1.085, allocations: 1.73 MB / 1.264 GB, free: 21.04 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004306/1.089, allocations: 2.34 MB / 1.267 GB, free: 21.04 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001166/1.09, allocations: 238.6 kB / 1.267 GB, free: 21.04 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003448/1.094, allocations: 0.8374 MB / 1.268 GB, free: 21.02 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001463/1.095, allocations: 0.9424 MB / 1.268 GB, free: 20.91 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003818/1.099, allocations: 1.888 MB / 1.27 GB, free: 20.32 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008224/1.107, allocations: 5.673 MB / 1.276 GB, free: 19.55 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/1.107, allocations: 0 / 1.276 GB, free: 19.55 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.232e-06/1.107, allocations: 1 kB / 1.276 GB, free: 19.55 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002098/1.108, allocations: 0 / 1.276 GB, free: 19.55 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 816 * Number of variables: 816 Notification: Performance of Generate backend data structure: time 0.01222/1.12, allocations: 4.631 MB / 1.28 GB, free: 17.66 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/1.12, allocations: 9 kB / 1.28 GB, free: 17.66 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01406/1.134, allocations: 2.768 MB / 1.283 GB, free: 17.41 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005596/1.14, allocations: 2.298 MB / 1.285 GB, free: 16.79 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002132/1.14, allocations: 241.4 kB / 1.286 GB, free: 16.78 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000883/1.141, allocations: 309 kB / 1.286 GB, free: 16.78 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01287/1.154, allocations: 5.161 MB / 1.291 GB, free: 16.49 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.416e-05/1.154, allocations: 1 kB / 1.291 GB, free: 16.49 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004659/1.154, allocations: 132.7 kB / 1.291 GB, free: 16.49 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.917e-05/1.154, allocations: 80.47 kB / 1.291 GB, free: 16.48 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01599/1.17, allocations: 6.298 MB / 1.297 GB, free: 16.42 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.03129/1.202, allocations: 14.89 MB / 1.312 GB, free: 12.05 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01009/1.212, allocations: 4.714 MB / 1.316 GB, free: 11.67 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005211/1.217, allocations: 2.437 MB / 1.319 GB, free: 11.14 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009954/1.218, allocations: 0.6726 MB / 1.319 GB, free: 10.45 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005731/1.224, allocations: 2.616 MB / 1.322 GB, free: 9.555 MB / 1.014 GB Notification: Performance of pre-optimization done (n=278): time 4.809e-06/1.224, allocations: 0 / 1.322 GB, free: 9.555 MB / 1.014 GB Notification: Performance of matching and sorting (n=278): time 0.0196/1.243, allocations: 7.405 MB / 1.329 GB, free: 7.414 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/1.244, allocations: 215 kB / 1.329 GB, free: 7.191 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005053/1.249, allocations: 2.427 MB / 1.332 GB, free: 6.281 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0005565/1.249, allocations: 79.03 kB / 1.332 GB, free: 6.211 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001534/1.251, allocations: 1.328 MB / 1.333 GB, free: 5.059 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001267/1.252, allocations: 0.9122 MB / 1.334 GB, free: 4.277 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001572/1.254, allocations: 0.5033 MB / 1.335 GB, free: 3.996 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001029/1.254, allocations: 305.1 kB / 1.335 GB, free: 3.695 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004902/1.259, allocations: 2.026 MB / 1.337 GB, free: 2.672 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005373/1.264, allocations: 2.35 MB / 1.339 GB, free: 1.355 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009866/1.274, allocations: 4.276 MB / 1.343 GB, free: 15.11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-05/1.274, allocations: 0 / 1.343 GB, free: 15.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.01212/1.286, allocations: 5.004 MB / 1.348 GB, free: 12.6 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/1.286, allocations: 5.5 kB / 1.348 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/1.286, allocations: 2.438 kB / 1.348 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006688/1.287, allocations: 232.4 kB / 1.348 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004342/1.291, allocations: 0.811 MB / 1.349 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004098/1.295, allocations: 3.099 MB / 1.352 GB, free: 9.641 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005123/1.3, allocations: 0.5766 MB / 1.353 GB, free: 9.062 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000997/1.301, allocations: 119.9 kB / 1.353 GB, free: 8.945 MB / 1.029 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.003408/1.305, allocations: 0.9517 MB / 1.354 GB, free: 8.012 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001658/1.307, allocations: 272.6 kB / 1.354 GB, free: 7.742 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01699/1.324, allocations: 5.627 MB / 1.36 GB, free: 2.066 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.931e-05/1.324, allocations: 28 kB / 1.36 GB, free: 2.039 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/1.324, allocations: 4 kB / 1.36 GB, free: 2.035 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.782e-05/1.324, allocations: 15.94 kB / 1.36 GB, free: 2.02 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007892/1.332, allocations: 3.682 MB / 1.363 GB, free: 14.35 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.385e-05/1.332, allocations: 7.75 kB / 1.363 GB, free: 14.34 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004635/1.336, allocations: 0.74 MB / 1.364 GB, free: 13.63 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001003/1.337, allocations: 266.5 kB / 1.364 GB, free: 13.36 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008833/1.338, allocations: 87.92 kB / 1.364 GB, free: 13.28 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005311/1.344, allocations: 4.802 MB / 1.369 GB, free: 8.207 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.344, allocations: 0 / 1.369 GB, free: 8.207 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02339/1.367, allocations: 8.026 MB / 1.377 GB, free: 104 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002882/1.37, allocations: 0.8248 MB / 1.378 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001489/1.371, allocations: 75.83 kB / 1.378 GB, free: 15.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004358/1.376, allocations: 439.3 kB / 1.378 GB, free: 14.75 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008598/1.377, allocations: 201 kB / 1.378 GB, free: 14.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006886/1.377, allocations: 111.9 kB / 1.378 GB, free: 14.45 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003703/1.381, allocations: 1.777 MB / 1.38 GB, free: 12.66 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.1e-07/1.381, allocations: 0 / 1.38 GB, free: 12.66 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.005472/1.387, allocations: 1.064 MB / 1.381 GB, free: 11.59 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.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 (276): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,16,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.00339/1.39, allocations: 1.053 MB / 1.382 GB, free: 10.94 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01355/1.404, allocations: 4.89 MB / 1.387 GB, free: 6.039 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/1.404, allocations: 0 / 1.387 GB, free: 6.039 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.00792/1.412, allocations: 2.781 MB / 1.39 GB, free: 3.281 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00601/1.418, allocations: 0.6553 MB / 1.39 GB, free: 2.637 MB / 1.061 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.01992/1.438, allocations: 9.444 MB / 1.4 GB, free: 9.164 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003339/1.441, allocations: 2.456 MB / 1.402 GB, free: 6.672 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.006161/1.447, allocations: 1.133 MB / 1.403 GB, free: 5.539 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001554/1.449, allocations: 279.2 kB / 1.403 GB, free: 5.266 MB / 1.076 GB Notification: Performance of SimCode: time 1.002e-06/1.449, allocations: 0 / 1.403 GB, free: 5.266 MB / 1.076 GB Notification: Performance of Templates: time 0.07805/1.527, allocations: 46.35 MB / 1.449 GB, free: 7.453 MB / 1.123 GB make -j1 -f Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)