Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001646/0.001647, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001563/0.001563, allocations: 198.2 kB / 16.14 MB, free: 6.66 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.43/1.43, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.727/2.727, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 61.61 kB / 0.9113 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2637, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1646/0.4283, allocations: 160.3 MB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6047/1.033, allocations: 26.94 MB / 1.25 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002959/1.036, allocations: 72.44 kB / 1.25 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002403/1.039, allocations: 0.9541 MB / 1.251 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004572/1.043, allocations: 1.672 MB / 1.253 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003673/1.047, allocations: 1.578 MB / 1.254 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006443/1.053, allocations: 5.742 MB / 1.26 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005011/1.058, allocations: 3.866 MB / 1.264 GB, free: 21 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003635/1.062, allocations: 1.802 MB / 1.266 GB, free: 20.99 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004478/1.067, allocations: 2.45 MB / 1.268 GB, free: 20.98 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001008/1.068, allocations: 251.8 kB / 1.268 GB, free: 20.98 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002742/1.07, allocations: 0.8479 MB / 1.269 GB, free: 20.96 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.00117/1.071, allocations: 0.9899 MB / 1.27 GB, free: 20.81 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003298/1.075, allocations: 1.973 MB / 1.272 GB, free: 20.2 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008888/1.084, allocations: 5.955 MB / 1.278 GB, free: 19.39 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/1.084, allocations: 0 / 1.278 GB, free: 19.39 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.944e-06/1.084, allocations: 3.938 kB / 1.278 GB, free: 19.39 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001781/1.084, allocations: 1.312 kB / 1.278 GB, free: 19.39 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: 852 * Number of variables: 852 Notification: Performance of Generate backend data structure: time 0.01053/1.094, allocations: 4.808 MB / 1.283 GB, free: 17.45 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/1.094, allocations: 9.625 kB / 1.283 GB, free: 17.45 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01457/1.109, allocations: 2.787 MB / 1.285 GB, free: 17.18 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004418/1.114, allocations: 2.387 MB / 1.288 GB, free: 16.54 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001792/1.114, allocations: 247 kB / 1.288 GB, free: 16.54 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005848/1.114, allocations: 328.4 kB / 1.288 GB, free: 16.54 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01099/1.125, allocations: 5.335 MB / 1.293 GB, free: 16.25 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.166e-05/1.125, allocations: 5.031 kB / 1.293 GB, free: 16.24 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003951/1.126, allocations: 137 kB / 1.293 GB, free: 16.24 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.044e-05/1.126, allocations: 83.44 kB / 1.294 GB, free: 16.24 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01391/1.14, allocations: 6.471 MB / 1.3 GB, free: 16.18 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.02756/1.167, allocations: 15.77 MB / 1.315 GB, free: 11.36 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01039/1.178, allocations: 4.875 MB / 1.32 GB, free: 10.45 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005548/1.183, allocations: 2.577 MB / 1.323 GB, free: 9.922 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009681/1.184, allocations: 0.6715 MB / 1.323 GB, free: 9.223 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006246/1.191, allocations: 2.711 MB / 1.326 GB, free: 8.312 MB / 1.014 GB Notification: Performance of pre-optimization done (n=291): time 5.13e-06/1.191, allocations: 0 / 1.326 GB, free: 8.312 MB / 1.014 GB Notification: Performance of matching and sorting (n=291): time 0.01892/1.21, allocations: 8.007 MB / 1.334 GB, free: 5.039 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/1.21, allocations: 215.3 kB / 1.334 GB, free: 4.812 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003951/1.214, allocations: 2.524 MB / 1.336 GB, free: 3.555 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0004487/1.214, allocations: 81.36 kB / 1.336 GB, free: 3.484 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.00121/1.215, allocations: 1.392 MB / 1.338 GB, free: 2.277 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001003/1.216, allocations: 0.9509 MB / 1.339 GB, free: 1.461 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00105/1.217, allocations: 0.5202 MB / 1.339 GB, free: 1.168 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.67e-05/1.218, allocations: 306 kB / 1.34 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004954/1.222, allocations: 2.113 MB / 1.342 GB, free: 15.79 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005015/1.228, allocations: 2.42 MB / 1.344 GB, free: 14.45 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009778/1.237, allocations: 4.443 MB / 1.348 GB, free: 12.1 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/1.237, allocations: 4 kB / 1.348 GB, free: 12.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01305/1.25, allocations: 5.251 MB / 1.353 GB, free: 8.891 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.401e-05/1.25, allocations: 11.98 kB / 1.353 GB, free: 8.879 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/1.25, allocations: 4 kB / 1.353 GB, free: 8.875 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009439/1.251, allocations: 353.3 kB / 1.354 GB, free: 8.527 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004241/1.256, allocations: 0.8197 MB / 1.355 GB, free: 7.738 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005544/1.261, allocations: 3.881 MB / 1.358 GB, free: 3.734 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004773/1.266, allocations: 0.5907 MB / 1.359 GB, free: 3.141 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007007/1.267, allocations: 116 kB / 1.359 GB, free: 3.027 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 (306): * Single equations (assignments): 305 * 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 {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002842/1.27, allocations: 0.9874 MB / 1.36 GB, free: 2.062 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00112/1.271, allocations: 284.4 kB / 1.36 GB, free: 1.781 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01478/1.286, allocations: 5.921 MB / 1.366 GB, free: 11.82 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.266e-05/1.286, allocations: 28 kB / 1.366 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.591e-05/1.286, allocations: 7.984 kB / 1.366 GB, free: 11.78 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.373e-05/1.286, allocations: 11.95 kB / 1.366 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006607/1.292, allocations: 3.854 MB / 1.37 GB, free: 7.938 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.674e-05/1.292, allocations: 4 kB / 1.37 GB, free: 7.934 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003951/1.296, allocations: 0.7477 MB / 1.371 GB, free: 7.211 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001138/1.297, allocations: 378.5 kB / 1.371 GB, free: 6.832 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003987/1.298, allocations: 79.92 kB / 1.371 GB, free: 6.754 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00622/1.304, allocations: 5.814 MB / 1.377 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.304, allocations: 0 / 1.377 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01952/1.324, allocations: 8.419 MB / 1.385 GB, free: 8.191 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002459/1.326, allocations: 0.8599 MB / 1.386 GB, free: 7.309 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001055/1.327, allocations: 67.89 kB / 1.386 GB, free: 7.242 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00391/1.331, allocations: 455.2 kB / 1.386 GB, free: 6.797 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005814/1.332, allocations: 213 kB / 1.386 GB, free: 6.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003604/1.332, allocations: 111.9 kB / 1.387 GB, free: 6.48 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003352/1.335, allocations: 1.834 MB / 1.388 GB, free: 4.637 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.7e-07/1.335, allocations: 0 / 1.388 GB, free: 4.637 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003953/1.339, allocations: 1.126 MB / 1.389 GB, free: 3.508 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[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 (279): * Single equations (assignments): 265 * 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 {(3,25,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.002577/1.342, allocations: 1.052 MB / 1.39 GB, free: 2.852 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01103/1.353, allocations: 5.125 MB / 1.395 GB, free: 13.72 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/1.353, allocations: 2.906 kB / 1.396 GB, free: 13.72 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.005891/1.359, allocations: 2.914 MB / 1.398 GB, free: 10.82 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003454/1.362, allocations: 0.6883 MB / 1.399 GB, free: 10.15 MB / 1.076 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.01517/1.378, allocations: 9.856 MB / 1.409 GB, free: 280 kB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00215/1.38, allocations: 2.531 MB / 1.411 GB, free: 13.71 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.004642/1.384, allocations: 1.16 MB / 1.412 GB, free: 12.55 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001255/1.386, allocations: 283.2 kB / 1.413 GB, free: 12.27 MB / 1.092 GB Notification: Performance of SimCode: time 6.71e-07/1.386, allocations: 0 / 1.413 GB, free: 12.27 MB / 1.092 GB Notification: Performance of Templates: time 0.08202/1.468, allocations: 48.87 MB / 1.46 GB, free: 11.96 MB / 1.139 GB make -j1 -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)