Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",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.001455/0.001455, 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.0009747/0.0009748, 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 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.764/1.764, allocations: 292.6 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005582/0.0005583, allocations: 12.91 kB / 0.6737 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2644, allocations: 116.3 MB / 0.7872 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.061/1.325, allocations: 305.6 MB / 1.086 GB, free: 6.465 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.109/1.434, allocations: 41.99 MB / 1.127 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008529/1.443, allocations: 131.1 kB / 1.127 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01439/1.457, allocations: 2.372 MB / 1.129 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.03687/1.494, allocations: 6.833 MB / 1.136 GB, free: 3.051 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.02423/1.518, allocations: 4.582 MB / 1.14 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.02076/1.539, allocations: 6.681 MB / 1.147 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01134/1.551, allocations: 4 MB / 1.151 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01673/1.567, allocations: 4.248 MB / 1.155 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006866/1.574, allocations: 2.24 MB / 1.157 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001451/1.576, allocations: 168 kB / 1.157 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01385/1.59, allocations: 2.906 MB / 1.16 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.003442/1.593, allocations: 1.219 MB / 1.161 GB, free: 8.965 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.003009/1.596, allocations: 0.9992 MB / 1.162 GB, free: 7.957 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01653/1.613, allocations: 6.301 MB / 1.168 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/1.613, allocations: 0 / 1.168 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.556e-06/1.613, allocations: 0 / 1.168 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002944/1.613, allocations: 0 / 1.168 GB, free: 1.641 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 856 * Number of variables: 856 Notification: Performance of Generate backend data structure: time 0.01637/1.63, allocations: 4.665 MB / 1.173 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/1.63, allocations: 11.98 kB / 1.173 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001414/1.631, allocations: 463.9 kB / 1.173 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01146/1.643, allocations: 1.925 MB / 1.175 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008861/1.651, allocations: 3.432 MB / 1.179 GB, free: 6.984 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001907/1.653, allocations: 0.7009 MB / 1.179 GB, free: 6.258 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001055/1.655, allocations: 352 kB / 1.18 GB, free: 5.914 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0106/1.665, allocations: 4.558 MB / 1.184 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.357e-05/1.665, allocations: 7.938 kB / 1.184 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003815/1.666, allocations: 132 kB / 1.184 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001344/1.666, allocations: 138.5 kB / 1.184 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01013/1.676, allocations: 4.171 MB / 1.188 GB, free: 12.8 MB / 0.9044 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.03611/1.712, allocations: 18.85 MB / 1.207 GB, free: 8.578 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004762/1.717, allocations: 2.033 MB / 1.209 GB, free: 6.504 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004678/1.717, allocations: 178.3 kB / 1.209 GB, free: 6.312 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002786/1.72, allocations: 1.255 MB / 1.21 GB, free: 5.023 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00188/1.722, allocations: 181.9 kB / 1.21 GB, free: 4.844 MB / 0.92 GB Notification: Performance of pre-optimization done (n=135): time 4.057e-06/1.722, allocations: 4 kB / 1.21 GB, free: 4.84 MB / 0.92 GB Notification: Performance of matching and sorting (n=135): time 0.008758/1.731, allocations: 3.276 MB / 1.214 GB, free: 1.531 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/1.731, allocations: 230.6 kB / 1.214 GB, free: 1.258 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005601/1.737, allocations: 3.623 MB / 1.217 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0003134/1.737, allocations: 57.7 kB / 1.217 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.00185/1.739, allocations: 2.013 MB / 1.219 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005366/1.739, allocations: 481.2 kB / 1.22 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/1.739, allocations: 36 kB / 1.22 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001877/1.74, allocations: 373.9 kB / 1.22 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003093/1.743, allocations: 1.14 MB / 1.221 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003558/1.746, allocations: 1.815 MB / 1.223 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003307/1.75, allocations: 1.304 MB / 1.224 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/1.75, allocations: 4 kB / 1.224 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.008037/1.758, allocations: 3.251 MB / 1.228 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.002997/1.761, allocations: 7.346 MB / 1.235 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/1.761, allocations: 16 kB / 1.235 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.902e-05/1.761, allocations: 28 kB / 1.235 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002756/1.764, allocations: 0.5811 MB / 1.235 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.325e-05/1.764, allocations: 31.92 kB / 1.235 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005242/1.769, allocations: 0.6363 MB / 1.236 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003546/1.769, allocations: 99.95 kB / 1.236 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/1.769, allocations: 4 kB / 1.236 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007168/1.776, allocations: 2.891 MB / 1.239 GB, free: 6.742 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.594e-05/1.777, allocations: 19.98 kB / 1.239 GB, free: 6.723 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.454e-05/1.777, allocations: 31.95 kB / 1.239 GB, free: 6.691 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002577/1.779, allocations: 0.5775 MB / 1.239 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.339e-05/1.779, allocations: 35.86 kB / 1.24 GB, free: 6.078 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00496/1.784, allocations: 0.5323 MB / 1.24 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003681/1.785, allocations: 95.91 kB / 1.24 GB, free: 5.453 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (230): * Single equations (assignments): 226 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002813/1.787, allocations: 1.122 MB / 1.241 GB, free: 4.32 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009589/1.788, allocations: 363.4 kB / 1.242 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005912/1.794, allocations: 2.507 MB / 1.244 GB, free: 1.426 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/1.794, allocations: 16 kB / 1.244 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/1.794, allocations: 0 / 1.244 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004052/1.798, allocations: 1.925 MB / 1.246 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01524/1.814, allocations: 7.839 MB / 1.254 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-05/1.814, allocations: 16 kB / 1.254 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001855/1.816, allocations: 371.8 kB / 1.254 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002232/1.816, allocations: 64.81 kB / 1.254 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/1.816, allocations: 43.98 kB / 1.254 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/1.817, allocations: 1.46 MB / 1.255 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.244e-05/1.817, allocations: 19.88 kB / 1.256 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009005/1.826, allocations: 5.316 MB / 1.261 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002252/1.828, allocations: 0.6799 MB / 1.261 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007087/1.829, allocations: 47.95 kB / 1.261 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003505/1.833, allocations: 439.3 kB / 1.262 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002387/1.833, allocations: 128.3 kB / 1.262 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001521/1.833, allocations: 67.95 kB / 1.262 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.004328/1.837, allocations: 2.505 MB / 1.264 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.41e-07/1.837, allocations: 0 / 1.264 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.006513/1.844, allocations: 2.01 MB / 1.266 GB, free: 9.27 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 4 (conPI.I.y,vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (133): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0109/1.855, allocations: 8.882 MB / 1.275 GB, free: 44 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.4525/2.307, allocations: 4.021 MB / 1.279 GB, free: 377.4 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.397e-05/2.308, allocations: 3.188 kB / 1.279 GB, free: 377.4 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003196/2.311, allocations: 1.224 MB / 1.28 GB, free: 377.3 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01068/2.321, allocations: 1.903 MB / 1.282 GB, free: 377.3 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03961/2.361, allocations: 22.49 MB / 1.304 GB, free: 360.6 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006232/2.367, allocations: 2.74 MB / 1.307 GB, free: 359.6 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.006264/2.374, allocations: 0.9929 MB / 1.308 GB, free: 359.6 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003192/2.377, allocations: 1.749 MB / 1.309 GB, free: 358.2 MB / 0.9825 GB Notification: Performance of SimCode: time 7.81e-07/2.377, allocations: 192 / 1.309 GB, free: 358.2 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1476/2.525, allocations: 101.4 MB / 1.408 GB, free: 275.8 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001451/2.525, allocations: 254.6 kB / 1.409 GB, free: 275.5 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.236/7.76, allocations: 3.094 kB / 1.409 GB, free: 275.5 MB / 0.9825 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust.fmu > Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1) Environment - environmentSimulation: