Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Examples.SimpleRoomOneElement,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",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.001343/0.001343, allocations: 95.88 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002052/0.002052, allocations: 174.1 kB / 16.56 MB, free: 6.391 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.636/2.636, allocations: 223.2 MB / 240.5 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.405/1.405, allocations: 113.7 MB / 405.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006068/0.0006069, allocations: 8 kB / 493 MB, free: 8.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2819, allocations: 77.11 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 1.048/1.33, allocations: 135.7 MB / 0.6892 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.05853/1.389, allocations: 22.73 MB / 0.7114 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006441/1.395, allocations: 63.62 kB / 0.7115 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00655/1.402, allocations: 0.9451 MB / 0.7124 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0159/1.418, allocations: 2.139 MB / 0.7145 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01098/1.429, allocations: 1.665 MB / 0.7161 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.009915/1.439, allocations: 2.897 MB / 0.7189 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007963/1.447, allocations: 2.916 MB / 0.7218 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005291/1.452, allocations: 1.331 MB / 0.7231 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00553/1.458, allocations: 1.647 MB / 0.7247 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001598/1.459, allocations: 108 kB / 0.7248 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004438/1.464, allocations: 0.5736 MB / 0.7253 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002037/1.466, allocations: 0.7082 MB / 0.726 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002173/1.468, allocations: 0.6286 MB / 0.7267 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01095/1.479, allocations: 4.364 MB / 0.7309 GB, free: 7.191 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/1.479, allocations: 0 / 0.7309 GB, free: 7.191 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.208e-06/1.479, allocations: 0 / 0.7309 GB, free: 7.191 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003381/1.48, allocations: 0 / 0.7309 GB, free: 7.191 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 815 * Number of variables: 815 Notification: Performance of Generate backend data structure: time 0.02169/1.501, allocations: 3.942 MB / 0.7348 GB, free: 3.16 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.663e-05/1.501, allocations: 8.031 kB / 0.7348 GB, free: 3.152 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003706/1.505, allocations: 446.8 kB / 0.7352 GB, free: 2.703 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02295/1.528, allocations: 2.889 MB / 0.738 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009889/1.538, allocations: 2.167 MB / 0.7401 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005039/1.539, allocations: 242.4 kB / 0.7404 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002442/1.541, allocations: 308 kB / 0.7407 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0246/1.566, allocations: 5.162 MB / 0.7457 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000112/1.566, allocations: 7.938 kB / 0.7457 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009884/1.567, allocations: 128 kB / 0.7458 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001128/1.567, allocations: 83.98 kB / 0.7459 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02858/1.596, allocations: 6.354 MB / 0.7521 GB, free: 1.199 MB / 0.5606 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.06028/1.656, allocations: 14.15 MB / 0.7659 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02127/1.677, allocations: 4.754 MB / 0.7706 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001976/1.679, allocations: 0.6736 MB / 0.7712 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01197/1.691, allocations: 2.605 MB / 0.7738 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=278): time 1.095e-05/1.692, allocations: 0 / 0.7738 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=278): time 0.04134/1.733, allocations: 7.41 MB / 0.781 GB, free: 2.867 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002698/1.733, allocations: 218.1 kB / 0.7812 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008324/1.742, allocations: 2.426 MB / 0.7836 GB, free: 160 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.00172/1.743, allocations: 77.7 kB / 0.7837 GB, free: 76 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00285/1.746, allocations: 1.357 MB / 0.785 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.00295/1.749, allocations: 0.9011 MB / 0.7859 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001198/1.75, allocations: 52 kB / 0.7859 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0005709/1.751, allocations: 411 kB / 0.7863 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01011/1.761, allocations: 2.007 MB / 0.7883 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01172/1.773, allocations: 2.316 MB / 0.7905 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01192/1.785, allocations: 2.129 MB / 0.7926 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.78e-05/1.785, allocations: 4 kB / 0.7926 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=314) (initialization): time 0.0292/1.815, allocations: 4.933 MB / 0.7974 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.468e-05/1.815, allocations: 11.94 kB / 0.7974 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.881e-05/1.815, allocations: 4 kB / 0.7974 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001209/1.816, allocations: 229.9 kB / 0.7977 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008751/1.825, allocations: 0.8424 MB / 0.7985 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008425/1.833, allocations: 3.185 MB / 0.8016 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007911/1.841, allocations: 0.5808 MB / 0.8022 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001437/1.843, allocations: 103.9 kB / 0.8023 GB, free: 12.7 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition1,$PRE.intGai.nextTimeEvent,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$PRE.HDifTil[1].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,$PRE.HDifTil[2].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,$PRE.HDirTil[1].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,$PRE.HDirTil[2].incAng.decAng.tNext,HDirTil[2].incAng.decAng.tNext,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (292): * Single equations (assignments): 291 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005762/1.848, allocations: 0.95 MB / 0.8032 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002443/1.851, allocations: 268.6 kB / 0.8035 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0279/1.879, allocations: 5.658 MB / 0.809 GB, free: 5.75 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.497e-05/1.879, allocations: 28 kB / 0.809 GB, free: 5.723 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.661e-05/1.879, allocations: 4 kB / 0.809 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001491/1.879, allocations: 19.88 kB / 0.809 GB, free: 5.699 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01401/1.893, allocations: 3.691 MB / 0.8126 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.038e-05/1.893, allocations: 4 kB / 0.8126 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007311/1.901, allocations: 0.784 MB / 0.8134 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001841/1.903, allocations: 264.5 kB / 0.8137 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001427/1.904, allocations: 83.92 kB / 0.8137 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009252/1.913, allocations: 4.864 MB / 0.8185 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.676e-06/1.913, allocations: 4 kB / 0.8185 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03741/1.951, allocations: 8.018 MB / 0.8263 GB, free: 3.547 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006068/1.957, allocations: 0.8831 MB / 0.8272 GB, free: 2.641 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002745/1.96, allocations: 67.94 kB / 0.8272 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007911/1.968, allocations: 443.4 kB / 0.8277 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00175/1.97, allocations: 210 kB / 0.8279 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001396/1.971, allocations: 107.9 kB / 0.828 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00654/1.978, allocations: 1.769 MB / 0.8297 GB, free: 48 kB / 0.6387 GB Notification: Performance of sort global known variables: time 1.162e-06/1.978, allocations: 0 / 0.8297 GB, free: 48 kB / 0.6387 GB Notification: Performance of remove unused functions: time 0.6872/2.665, allocations: 1.019 MB / 0.8307 GB, free: 226.8 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 16,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.04297/2.708, allocations: 9.512 MB / 0.84 GB, free: 224.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.02445/2.733, allocations: 4.848 MB / 0.8447 GB, free: 223.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-05/2.733, allocations: 0 / 0.8447 GB, free: 223.5 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.01175/2.744, allocations: 2.769 MB / 0.8474 GB, free: 222.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005816/2.75, allocations: 0.5493 MB / 0.848 GB, free: 222.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0898/2.84, allocations: 27.72 MB / 0.875 GB, free: 206.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003163/2.843, allocations: 2.518 MB / 0.8775 GB, free: 203.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.007992/2.851, allocations: 1.139 MB / 0.8786 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004534/2.856, allocations: 1.444 MB / 0.88 GB, free: 201.2 MB / 0.6387 GB Notification: Performance of SimCode: time 1.633e-06/2.856, allocations: 0 / 0.88 GB, free: 201.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1903/3.046, allocations: 69.98 MB / 0.9484 GB, free: 131.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003261/3.047, allocations: 272.3 kB / 0.9486 GB, free: 131.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.384/10.43, allocations: 3.156 kB / 0.9486 GB, free: 131.4 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement.fmu > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1) Environment - environmentSimulation: