Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.Examples.SimpleRoomOneElement,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="Buildings_latest_Buildings_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.001347/0.001347, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001827/0.001827, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.471/2.471, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.491/4.491, allocations: 409.2 MB / 0.6838 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006353/0.0006354, allocations: 11.98 kB / 0.8375 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.48/1.481, allocations: 146.8 MB / 0.9809 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.2627/1.744, allocations: 135.7 MB / 1.113 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.04932/1.793, allocations: 22.72 MB / 1.136 GB, free: 7.453 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00506/1.798, allocations: 59.62 kB / 1.136 GB, free: 7.395 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.005167/1.804, allocations: 0.9491 MB / 1.137 GB, free: 6.441 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01313/1.817, allocations: 2.13 MB / 1.139 GB, free: 4.309 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.009833/1.827, allocations: 1.67 MB / 1.14 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01011/1.837, allocations: 2.891 MB / 1.143 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007044/1.844, allocations: 2.923 MB / 1.146 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004475/1.848, allocations: 1.335 MB / 1.147 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004541/1.853, allocations: 1.638 MB / 1.149 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001441/1.855, allocations: 108 kB / 1.149 GB, free: 9.715 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004007/1.859, allocations: 0.5775 MB / 1.15 GB, free: 9.137 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001897/1.861, allocations: 0.7081 MB / 1.15 GB, free: 8.426 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.00188/1.862, allocations: 0.6247 MB / 1.151 GB, free: 7.793 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.009257/1.872, allocations: 4.372 MB / 1.155 GB, free: 3.41 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/1.872, allocations: 0 / 1.155 GB, free: 3.41 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.867e-06/1.872, allocations: 4 kB / 1.155 GB, free: 3.406 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0002489/1.872, allocations: 0 / 1.155 GB, free: 3.406 MB / 0.9044 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.01754/1.89, allocations: 3.927 MB / 1.159 GB, free: 15.39 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.982e-05/1.89, allocations: 12.03 kB / 1.159 GB, free: 15.38 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002823/1.893, allocations: 454.8 kB / 1.159 GB, free: 14.92 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0231/1.916, allocations: 2.882 MB / 1.162 GB, free: 12.03 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009618/1.925, allocations: 2.179 MB / 1.164 GB, free: 9.773 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004749/1.926, allocations: 238.4 kB / 1.165 GB, free: 9.539 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002391/1.928, allocations: 308 kB / 1.165 GB, free: 9.238 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02478/1.953, allocations: 5.154 MB / 1.17 GB, free: 4.004 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001354/1.953, allocations: 8 kB / 1.17 GB, free: 3.996 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001655/1.955, allocations: 128 kB / 1.17 GB, free: 3.871 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001176/1.955, allocations: 76 kB / 1.17 GB, free: 3.797 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02825/1.984, allocations: 6.354 MB / 1.176 GB, free: 13.43 MB / 0.9356 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.05373/2.037, allocations: 14.16 MB / 1.19 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02133/2.059, allocations: 4.743 MB / 1.195 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001633/2.06, allocations: 0.6736 MB / 1.195 GB, free: 9.293 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01096/2.071, allocations: 2.611 MB / 1.198 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=278): time 1.198e-05/2.071, allocations: 0 / 1.198 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of matching and sorting (n=278): time 0.03554/2.107, allocations: 7.403 MB / 1.205 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001857/2.107, allocations: 214.1 kB / 1.205 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006426/2.114, allocations: 2.426 MB / 1.208 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.001236/2.115, allocations: 77.7 kB / 1.208 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.002174/2.117, allocations: 1.357 MB / 1.209 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.00264/2.12, allocations: 0.901 MB / 1.21 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004601/2.12, allocations: 52 kB / 1.21 GB, free: 9.984 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0004443/2.121, allocations: 414.8 kB / 1.21 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00898/2.13, allocations: 2.007 MB / 1.212 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009989/2.14, allocations: 2.312 MB / 1.215 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009708/2.15, allocations: 2.137 MB / 1.217 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.968e-05/2.15, allocations: 4 kB / 1.217 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of matching and sorting (n=314) (initialization): time 0.02644/2.176, allocations: 4.925 MB / 1.222 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.986e-05/2.176, allocations: 8 kB / 1.222 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.885e-05/2.176, allocations: 8.266 kB / 1.222 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/2.178, allocations: 224.7 kB / 1.222 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007842/2.185, allocations: 0.854 MB / 1.223 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006309/2.192, allocations: 3.193 MB / 1.226 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006796/2.199, allocations: 0.58 MB / 1.226 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001218/2.2, allocations: 107.9 kB / 1.226 GB, free: 8.922 MB / 0.9825 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.004273/2.204, allocations: 0.9422 MB / 1.227 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001379/2.206, allocations: 272.5 kB / 1.228 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02337/2.229, allocations: 5.645 MB / 1.233 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.863e-05/2.229, allocations: 32 kB / 1.233 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.86e-05/2.229, allocations: 4 kB / 1.233 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.874e-05/2.229, allocations: 15.94 kB / 1.233 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/2.24, allocations: 3.695 MB / 1.237 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.57e-05/2.24, allocations: 4 kB / 1.237 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006905/2.247, allocations: 0.7839 MB / 1.238 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00145/2.248, allocations: 272 kB / 1.238 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001154/2.249, allocations: 83.92 kB / 1.238 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007229/2.257, allocations: 4.856 MB / 1.243 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/2.257, allocations: 0 / 1.243 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.167/3.424, allocations: 8.012 MB / 1.25 GB, free: 257.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005483/3.429, allocations: 0.882 MB / 1.251 GB, free: 257.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001987/3.431, allocations: 67.11 kB / 1.251 GB, free: 257.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006813/3.438, allocations: 450.8 kB / 1.252 GB, free: 257.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001397/3.44, allocations: 201.8 kB / 1.252 GB, free: 257.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008013/3.44, allocations: 109 kB / 1.252 GB, free: 257.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.006029/3.446, allocations: 1.773 MB / 1.254 GB, free: 257.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.21e-07/3.446, allocations: 0 / 1.254 GB, free: 257.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.007583/3.454, allocations: 1.028 MB / 1.255 GB, free: 257.7 MB / 0.9981 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.04154/3.496, allocations: 9.53 MB / 1.264 GB, free: 254.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01837/3.514, allocations: 4.838 MB / 1.269 GB, free: 253 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.637e-05/3.514, allocations: 4.75 kB / 1.269 GB, free: 253 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01072/3.525, allocations: 2.769 MB / 1.272 GB, free: 252 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006214/3.531, allocations: 0.5591 MB / 1.272 GB, free: 251.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0795/3.611, allocations: 27.73 MB / 1.299 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00287/3.614, allocations: 2.514 MB / 1.302 GB, free: 224.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.007977/3.622, allocations: 1.136 MB / 1.303 GB, free: 223 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004414/3.626, allocations: 1.444 MB / 1.304 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.382e-06/3.626, allocations: 0 / 1.304 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1775/3.804, allocations: 70 MB / 1.373 GB, free: 152.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003963/3.804, allocations: 273.2 kB / 1.373 GB, free: 151.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.052/10.86, allocations: 7.938 kB / 1.373 GB, free: 151.8 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement.fmu > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1) Environment - environmentSimulation: