Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.ThermalZones.ReducedOrder.Validation.RoomSteadyState,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_RoomSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.ThermalZones.ReducedOrder.Validation.RoomSteadyState,fileNamePrefix="IBPSA_latest_IBPSA_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.001592/0.001592, allocations: 102.7 kB / 16.4 MB, free: 6.488 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.001941/0.001941, allocations: 199.8 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.278/2.278, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.203/1.203, allocations: 115.3 MB / 406.5 MB, free: 6.102 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 62.16 kB / 0.5572 GB, free: 32.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2322, allocations: 76.18 MB / 0.6316 GB, free: 4.883 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Validation.RoomSteadyState): time 0.8884/1.121, allocations: 162 MB / 0.7898 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.05455/1.175, allocations: 26.95 MB / 0.8161 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006678/1.182, allocations: 71.16 kB / 0.8162 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00389/1.186, allocations: 0.6924 MB / 0.8169 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01035/1.196, allocations: 1.6 MB / 0.8184 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.009253/1.206, allocations: 1.711 MB / 0.8201 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01438/1.22, allocations: 5.217 MB / 0.8252 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00973/1.23, allocations: 4.031 MB / 0.8291 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006555/1.237, allocations: 2.032 MB / 0.8311 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006066/1.243, allocations: 2.317 MB / 0.8334 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002707/1.245, allocations: 452 kB / 0.8338 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007977/1.253, allocations: 1.464 MB / 0.8352 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00262/1.256, allocations: 1.103 MB / 0.8363 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.005663/1.262, allocations: 2.027 MB / 0.8383 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0153/1.277, allocations: 5.958 MB / 0.8441 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.068e-05/1.277, allocations: 8 kB / 0.8441 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.645e-06/1.277, allocations: 0 / 0.8441 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002842/1.277, allocations: 0 / 0.8441 GB, free: 7.371 MB / 0.6075 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.02041/1.298, allocations: 4.406 MB / 0.8484 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.924e-05/1.298, allocations: 8.031 kB / 0.8484 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002145/1.3, allocations: 434.5 kB / 0.8488 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02117/1.321, allocations: 2.769 MB / 0.8515 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01012/1.332, allocations: 2.217 MB / 0.8537 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00043/1.332, allocations: 226.2 kB / 0.8539 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00207/1.334, allocations: 308 kB / 0.8542 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.023/1.357, allocations: 5.149 MB / 0.8593 GB, free: 7.66 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001772/1.357, allocations: 0 / 0.8593 GB, free: 7.66 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001418/1.359, allocations: 131.9 kB / 0.8594 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001112/1.359, allocations: 79.94 kB / 0.8595 GB, free: 7.453 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02482/1.384, allocations: 6.279 MB / 0.8656 GB, free: 1.156 MB / 0.6231 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.04506/1.429, allocations: 15.83 MB / 0.881 GB, free: 0.7734 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01262/1.442, allocations: 4.015 MB / 0.885 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006871/1.449, allocations: 2.128 MB / 0.887 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005563/1.449, allocations: 231 kB / 0.8873 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00749/1.457, allocations: 2.386 MB / 0.8896 GB, free: 7.977 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=252): time 7.514e-06/1.457, allocations: 0 / 0.8896 GB, free: 7.977 MB / 0.6544 GB Notification: Performance of matching and sorting (n=252): time 0.02291/1.48, allocations: 6.54 MB / 0.896 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001872/1.48, allocations: 291 kB / 0.8963 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005112/1.485, allocations: 2.213 MB / 0.8984 GB, free: 14.78 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0008989/1.486, allocations: 81.69 kB / 0.8985 GB, free: 14.69 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001664/1.488, allocations: 1.259 MB / 0.8997 GB, free: 13.42 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001668/1.489, allocations: 0.8248 MB / 0.9005 GB, free: 12.61 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001402/1.491, allocations: 492.6 kB / 0.901 GB, free: 12.12 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001164/1.491, allocations: 301.1 kB / 0.9013 GB, free: 11.82 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005915/1.497, allocations: 1.812 MB / 0.9031 GB, free: 10 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006872/1.504, allocations: 2.22 MB / 0.9052 GB, free: 7.656 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01276/1.516, allocations: 3.914 MB / 0.9091 GB, free: 3.629 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.12e-05/1.517, allocations: 0 / 0.9091 GB, free: 3.629 MB / 0.67 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01603/1.533, allocations: 4.587 MB / 0.9135 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.955e-05/1.533, allocations: 8 kB / 0.9135 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.58e-05/1.533, allocations: 8 kB / 0.9135 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009404/1.534, allocations: 242 kB / 0.9138 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005503/1.539, allocations: 0.737 MB / 0.9145 GB, free: 14 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006037/1.545, allocations: 3.381 MB / 0.9178 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006003/1.551, allocations: 0.5709 MB / 0.9184 GB, free: 9.906 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008979/1.552, allocations: 111.9 kB / 0.9185 GB, free: 9.797 MB / 0.6856 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.002935/1.555, allocations: 0.8574 MB / 0.9193 GB, free: 8.93 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001155/1.556, allocations: 264.8 kB / 0.9196 GB, free: 8.668 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01692/1.573, allocations: 4.869 MB / 0.9243 GB, free: 3.727 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.974e-05/1.573, allocations: 31.98 kB / 0.9243 GB, free: 3.695 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-05/1.573, allocations: 4 kB / 0.9243 GB, free: 3.691 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-05/1.573, allocations: 19.89 kB / 0.9244 GB, free: 3.672 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0232/1.597, allocations: 8.33 MB / 0.9325 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/1.597, allocations: 12.16 kB / 0.9325 GB, free: 11.19 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002777/1.6, allocations: 0.5772 MB / 0.9331 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008269/1.6, allocations: 268.1 kB / 0.9333 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000269/1.601, allocations: 79.95 kB / 0.9334 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004919/1.606, allocations: 5.257 MB / 0.9385 GB, free: 4.711 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.327e-06/1.606, allocations: 11.94 kB / 0.9385 GB, free: 4.699 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01407/1.62, allocations: 6.244 MB / 0.9446 GB, free: 14.22 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002112/1.622, allocations: 0.7276 MB / 0.9454 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006613/1.623, allocations: 79.77 kB / 0.9454 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003405/1.626, allocations: 303.6 kB / 0.9457 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000485/1.626, allocations: 225.4 kB / 0.9459 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002396/1.627, allocations: 103.9 kB / 0.946 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002805/1.63, allocations: 1.596 MB / 0.9476 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.51e-07/1.63, allocations: 0 / 0.9476 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00549/1.635, allocations: 0.9781 MB / 0.9486 GB, free: 10.18 MB / 0.7169 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.03031/1.665, allocations: 7.738 MB / 0.9561 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01801/1.683, allocations: 4.057 MB / 0.9601 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.972e-05/1.684, allocations: 4.312 kB / 0.9601 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.009956/1.693, allocations: 2.515 MB / 0.9625 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008023/1.702, allocations: 0.7611 MB / 0.9633 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1091/1.811, allocations: 27.44 MB / 0.9901 GB, free: 15.11 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005066/1.816, allocations: 2.313 MB / 0.9923 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.007493/1.823, allocations: 1.02 MB / 0.9933 GB, free: 11.74 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005335/1.829, allocations: 1.308 MB / 0.9946 GB, free: 10.44 MB / 0.7637 GB Notification: Performance of SimCode: time 1.994e-06/1.829, allocations: 0 / 0.9946 GB, free: 10.44 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7544/2.583, allocations: 71.4 MB / 1.064 GB, free: 327.5 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 35.37/37.95, allocations: 5.344 kB / 1.064 GB, free: 327.5 MB / 0.8106 GB (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.RoomSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_RoomSteadyState_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_RoomSteadyState.fmu > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe 2>&1)