Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState.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: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004296/0.004296, allocations: 100.3 kB / 15.73 MB, free: 6.062 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.001431/0.001431, allocations: 196.1 kB / 16.67 MB, free: 5.965 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.177/1.177, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.346/2.346, allocations: 482.6 MB / 0.7551 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.0017, allocations: 62.12 kB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2527, allocations: 162.3 MB / 1.242 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState): time 0.1585/0.4112, allocations: 162.1 MB / 1.4 GB, free: 6.117 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.029/0.4402, allocations: 26.96 MB / 1.426 GB, free: 11.07 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001594/0.4419, allocations: 71.62 kB / 1.427 GB, free: 11 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.4433, allocations: 0.6861 MB / 1.427 GB, free: 10.31 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003147/0.4465, allocations: 1.607 MB / 1.429 GB, free: 8.699 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003082/0.4496, allocations: 1.707 MB / 1.43 GB, free: 7 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004582/0.4542, allocations: 5.236 MB / 1.436 GB, free: 1.754 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003919/0.4581, allocations: 4.001 MB / 1.439 GB, free: 13.68 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002289/0.4604, allocations: 2.015 MB / 1.441 GB, free: 11.66 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00244/0.4628, allocations: 2.32 MB / 1.444 GB, free: 9.332 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0005712/0.4634, allocations: 452 kB / 1.444 GB, free: 8.891 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002248/0.4657, allocations: 1.455 MB / 1.446 GB, free: 7.43 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0009238/0.4666, allocations: 1.102 MB / 1.447 GB, free: 6.324 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.00182/0.4684, allocations: 2.03 MB / 1.449 GB, free: 4.285 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.005615/0.4741, allocations: 5.991 MB / 1.454 GB, free: 14.27 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.4741, allocations: 0 / 1.454 GB, free: 14.27 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4741, allocations: 0 / 1.454 GB, free: 14.27 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.554e-05/0.4741, allocations: 3.938 kB / 1.454 GB, free: 14.27 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 794 * Number of variables: 794 Notification: Performance of Generate backend data structure: time 0.007675/0.4818, allocations: 4.505 MB / 1.459 GB, free: 9.668 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.4818, allocations: 11.97 kB / 1.459 GB, free: 9.656 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005072/0.4824, allocations: 446.5 kB / 1.459 GB, free: 9.207 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01229/0.4947, allocations: 2.775 MB / 1.462 GB, free: 6.426 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003171/0.4978, allocations: 2.236 MB / 1.464 GB, free: 4.137 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001722/0.498, allocations: 230.2 kB / 1.464 GB, free: 3.91 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004491/0.4985, allocations: 308 kB / 1.465 GB, free: 3.609 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009428/0.5079, allocations: 5.145 MB / 1.47 GB, free: 14.36 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.295e-05/0.508, allocations: 0 / 1.47 GB, free: 14.36 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003289/0.5083, allocations: 128 kB / 1.47 GB, free: 14.23 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-05/0.5084, allocations: 79.94 kB / 1.47 GB, free: 14.16 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01332/0.5217, allocations: 6.283 MB / 1.476 GB, free: 7.855 MB / 1.201 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.0223/0.544, allocations: 15.64 MB / 1.491 GB, free: 7.594 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007397/0.5514, allocations: 4 MB / 1.495 GB, free: 3.594 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003895/0.5553, allocations: 2.132 MB / 1.497 GB, free: 1.461 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002976/0.5556, allocations: 236.2 kB / 1.498 GB, free: 1.191 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004192/0.5598, allocations: 2.386 MB / 1.5 GB, free: 14.78 MB / 1.232 GB Notification: Performance of pre-optimization done (n=252): time 3.436e-06/0.5598, allocations: 0 / 1.5 GB, free: 14.78 MB / 1.232 GB Notification: Performance of matching and sorting (n=252): time 0.01347/0.5733, allocations: 6.557 MB / 1.506 GB, free: 8.152 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001476/0.5735, allocations: 283 kB / 1.507 GB, free: 7.816 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002732/0.5762, allocations: 2.216 MB / 1.509 GB, free: 5.57 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.000174/0.5764, allocations: 77.69 kB / 1.509 GB, free: 5.488 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009929/0.5774, allocations: 1.284 MB / 1.51 GB, free: 4.195 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006942/0.5781, allocations: 0.8599 MB / 1.511 GB, free: 3.328 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008258/0.5789, allocations: 496.5 kB / 1.511 GB, free: 2.836 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.579, allocations: 309.1 kB / 1.512 GB, free: 2.531 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003649/0.5827, allocations: 1.812 MB / 1.513 GB, free: 0.7148 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004015/0.5867, allocations: 2.209 MB / 1.516 GB, free: 14.38 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007458/0.5942, allocations: 3.918 MB / 1.519 GB, free: 10.35 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.5942, allocations: 4 kB / 1.519 GB, free: 10.34 MB / 1.248 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.008932/0.6032, allocations: 4.596 MB / 1.524 GB, free: 5.695 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.6032, allocations: 14.05 kB / 1.524 GB, free: 5.684 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.6032, allocations: 7.938 kB / 1.524 GB, free: 5.676 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005634/0.6038, allocations: 234.5 kB / 1.524 GB, free: 5.445 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003083/0.6069, allocations: 0.7488 MB / 1.525 GB, free: 4.695 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003882/0.6108, allocations: 3.387 MB / 1.528 GB, free: 1.172 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002875/0.6136, allocations: 0.5718 MB / 1.529 GB, free: 0.5977 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002237/0.6139, allocations: 107.9 kB / 1.529 GB, free: 0.4922 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.intGai.nextTimeEvent,$whenCondition1,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 (286): * Single equations (assignments): 285 * 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.00124/0.6151, allocations: 0.8602 MB / 1.53 GB, free: 15.62 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004424/0.6156, allocations: 282.2 kB / 1.53 GB, free: 15.34 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009649/0.6252, allocations: 4.881 MB / 1.535 GB, free: 10.39 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.05e-05/0.6253, allocations: 28 kB / 1.535 GB, free: 10.36 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.6253, allocations: 4 kB / 1.535 GB, free: 10.36 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.139e-05/0.6253, allocations: 11.95 kB / 1.535 GB, free: 10.35 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01348/0.6388, allocations: 8.34 MB / 1.543 GB, free: 1.801 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/0.6388, allocations: 12 kB / 1.543 GB, free: 1.789 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00235/0.6412, allocations: 0.566 MB / 1.544 GB, free: 1.223 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007033/0.6419, allocations: 278.3 kB / 1.544 GB, free: 0.9414 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001737/0.6421, allocations: 75.95 kB / 1.544 GB, free: 0.8672 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.452/1.094, allocations: 5.247 MB / 1.549 GB, free: 292 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/1.094, allocations: 17.64 kB / 1.549 GB, free: 292 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01133/1.105, allocations: 6.256 MB / 1.555 GB, free: 289.7 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/1.106, allocations: 0.7421 MB / 1.556 GB, free: 289.4 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003808/1.107, allocations: 81.77 kB / 1.556 GB, free: 289.4 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002225/1.109, allocations: 305.4 kB / 1.556 GB, free: 289.3 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003518/1.109, allocations: 222.2 kB / 1.556 GB, free: 289.3 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001849/1.11, allocations: 101 kB / 1.556 GB, free: 289.3 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001974/1.112, allocations: 1.601 MB / 1.558 GB, free: 288.7 MB / 1.264 GB Notification: Performance of sort global known variables: time 3.01e-07/1.112, allocations: 0 / 1.558 GB, free: 288.7 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.002059/1.114, allocations: 0.9773 MB / 1.559 GB, free: 288.5 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,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.locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (244): * Single equations (assignments): 230 * 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.01302/1.127, allocations: 7.764 MB / 1.567 GB, free: 285.4 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.007192/1.134, allocations: 4.057 MB / 1.571 GB, free: 284.1 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.134, allocations: 9.531 kB / 1.571 GB, free: 284.1 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.003858/1.138, allocations: 2.511 MB / 1.573 GB, free: 283.2 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00274/1.141, allocations: 0.7666 MB / 1.574 GB, free: 282.9 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03264/1.173, allocations: 27.55 MB / 1.601 GB, free: 264.1 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/1.174, allocations: 2.321 MB / 1.603 GB, free: 261.8 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.002221/1.177, allocations: 1.019 MB / 1.604 GB, free: 260.7 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001434/1.178, allocations: 1.315 MB / 1.605 GB, free: 259.4 MB / 1.264 GB Notification: Performance of SimCode: time 5.31e-07/1.178, allocations: 0 / 1.605 GB, free: 259.4 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.244/2.422, allocations: 70.1 MB / 1.674 GB, free: 189.9 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.01/19.43, allocations: 26.59 kB / 1.674 GB, free: 189.9 MB / 1.264 GB (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomSteadyState_fmu --startTime=0 --stopTime=604800 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomSteadyState.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe 2>&1)