Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.394/1.394, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 175.9 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.884/1.884, allocations: 205.4 MB / 0.5775 GB, free: 20.31 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 94.44 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005334/0.0005335, allocations: 15.84 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2708, allocations: 106.3 MB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.9471/1.218, allocations: 306.4 MB / 1.199 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.06648/1.284, allocations: 42.27 MB / 1.241 GB, free: 1.598 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008875/1.293, allocations: 135.1 kB / 1.241 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.01114/1.305, allocations: 2.376 MB / 1.243 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.03006/1.335, allocations: 6.93 MB / 1.25 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.01603/1.351, allocations: 4.694 MB / 1.254 GB, free: 3.484 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.01693/1.368, allocations: 6.725 MB / 1.261 GB, free: 12.75 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00891/1.377, allocations: 4.012 MB / 1.265 GB, free: 8.68 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0133/1.39, allocations: 4.143 MB / 1.269 GB, free: 4.523 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006575/1.397, allocations: 2.365 MB / 1.271 GB, free: 2.148 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.001372/1.398, allocations: 172 kB / 1.271 GB, free: 1.98 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009908/1.408, allocations: 2.742 MB / 1.274 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.003296/1.411, allocations: 1.223 MB / 1.275 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.003383/1.415, allocations: 1.003 MB / 1.276 GB, free: 13 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.01307/1.428, allocations: 6.231 MB / 1.282 GB, free: 6.75 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/1.428, allocations: 0 / 1.282 GB, free: 6.75 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.094e-06/1.428, allocations: 0 / 1.282 GB, free: 6.75 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0002629/1.428, allocations: 4 kB / 1.282 GB, free: 6.746 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 858 * Number of variables: 858 Notification: Performance of Generate backend data structure: time 0.01164/1.44, allocations: 4.646 MB / 1.287 GB, free: 2.012 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/1.44, allocations: 8.031 kB / 1.287 GB, free: 2.004 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001733/1.442, allocations: 464 kB / 1.287 GB, free: 1.539 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01067/1.452, allocations: 1.883 MB / 1.289 GB, free: 15.65 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00896/1.461, allocations: 3.445 MB / 1.293 GB, free: 12.14 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0019/1.463, allocations: 0.697 MB / 1.293 GB, free: 11.42 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00139/1.465, allocations: 348 kB / 1.294 GB, free: 11.08 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01077/1.476, allocations: 4.562 MB / 1.298 GB, free: 6.422 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.334e-05/1.476, allocations: 3.938 kB / 1.298 GB, free: 6.418 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004289/1.476, allocations: 147.9 kB / 1.298 GB, free: 6.273 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001706/1.476, allocations: 134.5 kB / 1.298 GB, free: 6.141 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01085/1.487, allocations: 4.167 MB / 1.302 GB, free: 1.965 MB / 0.823 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.03394/1.521, allocations: 18.84 MB / 1.321 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00491/1.526, allocations: 2.032 MB / 1.323 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004749/1.527, allocations: 170.3 kB / 1.323 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003254/1.53, allocations: 1.263 MB / 1.324 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002736/1.533, allocations: 178 kB / 1.324 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=135): time 1.058e-05/1.533, allocations: 0 / 1.324 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of matching and sorting (n=135): time 0.009794/1.542, allocations: 3.255 MB / 1.327 GB, free: 6.727 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/1.543, allocations: 234.5 kB / 1.328 GB, free: 6.449 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008979/1.552, allocations: 3.631 MB / 1.331 GB, free: 2.793 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0006065/1.552, allocations: 53.7 kB / 1.331 GB, free: 2.734 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.002568/1.555, allocations: 2.013 MB / 1.333 GB, free: 0.707 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008261/1.556, allocations: 469.3 kB / 1.334 GB, free: 248 kB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003423/1.556, allocations: 39.94 kB / 1.334 GB, free: 208 kB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003093/1.556, allocations: 373.9 kB / 1.334 GB, free: 15.83 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003506/1.56, allocations: 1.136 MB / 1.335 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004019/1.564, allocations: 1.815 MB / 1.337 GB, free: 12.58 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003758/1.568, allocations: 1.304 MB / 1.338 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.54e-05/1.568, allocations: 7.984 kB / 1.338 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.009689/1.577, allocations: 3.243 MB / 1.341 GB, free: 8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.003122/1.581, allocations: 7.352 MB / 1.349 GB, free: 236 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.763e-05/1.581, allocations: 19.94 kB / 1.349 GB, free: 216 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.634e-05/1.581, allocations: 28 kB / 1.349 GB, free: 188 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003007/1.584, allocations: 0.5812 MB / 1.349 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.61e-05/1.584, allocations: 31.92 kB / 1.349 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005652/1.59, allocations: 0.6205 MB / 1.35 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004547/1.59, allocations: 107.9 kB / 1.35 GB, free: 14.85 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/1.59, allocations: 8.047 kB / 1.35 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008039/1.598, allocations: 2.898 MB / 1.353 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.015e-05/1.598, allocations: 16 kB / 1.353 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.109e-05/1.598, allocations: 28 kB / 1.353 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002825/1.601, allocations: 0.57 MB / 1.353 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.998e-05/1.601, allocations: 35.86 kB / 1.353 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004895/1.606, allocations: 0.5402 MB / 1.354 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004059/1.607, allocations: 95.95 kB / 1.354 GB, free: 10.65 MB / 0.8855 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.00331/1.61, allocations: 1.133 MB / 1.355 GB, free: 9.504 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001509/1.611, allocations: 371.4 kB / 1.356 GB, free: 9.137 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007645/1.619, allocations: 2.488 MB / 1.358 GB, free: 6.625 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.14e-05/1.619, allocations: 12 kB / 1.358 GB, free: 6.613 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.735e-05/1.619, allocations: 4 kB / 1.358 GB, free: 6.609 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004382/1.624, allocations: 1.925 MB / 1.36 GB, free: 4.59 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02192/1.645, allocations: 7.804 MB / 1.367 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.949e-05/1.646, allocations: 12 kB / 1.367 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002083/1.648, allocations: 376.1 kB / 1.368 GB, free: 12.12 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002901/1.648, allocations: 60.81 kB / 1.368 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000261/1.648, allocations: 47.98 kB / 1.368 GB, free: 12.01 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/1.65, allocations: 1.456 MB / 1.369 GB, free: 10.42 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.771e-05/1.65, allocations: 23.81 kB / 1.369 GB, free: 10.39 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01069/1.661, allocations: 5.33 MB / 1.375 GB, free: 4.395 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002701/1.663, allocations: 0.6798 MB / 1.375 GB, free: 3.691 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001203/1.665, allocations: 43.98 kB / 1.375 GB, free: 3.648 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004426/1.669, allocations: 441.6 kB / 1.376 GB, free: 3.219 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003196/1.669, allocations: 124.3 kB / 1.376 GB, free: 3.098 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002724/1.67, allocations: 75.95 kB / 1.376 GB, free: 3.023 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.006309/1.676, allocations: 2.513 MB / 1.378 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6.81e-07/1.676, allocations: 0 / 1.378 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.008561/1.685, allocations: 1.975 MB / 1.38 GB, free: 14.52 MB / 0.9167 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.01323/1.698, allocations: 8.86 MB / 1.389 GB, free: 5.297 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01107/1.709, allocations: 4.029 MB / 1.393 GB, free: 1.25 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-05/1.709, allocations: 4 kB / 1.393 GB, free: 1.246 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.003519/1.713, allocations: 1.223 MB / 1.394 GB, free: 8 kB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01078/1.723, allocations: 1.895 MB / 1.396 GB, free: 14.12 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4547/2.178, allocations: 22.48 MB / 1.418 GB, free: 360.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004592/2.183, allocations: 2.74 MB / 1.421 GB, free: 359.6 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.009145/2.192, allocations: 0.9914 MB / 1.422 GB, free: 359.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004993/2.197, allocations: 1.75 MB / 1.423 GB, free: 359.6 MB / 0.9323 GB Notification: Performance of SimCode: time 2.204e-06/2.197, allocations: 0 / 1.423 GB, free: 359.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1633/2.36, allocations: 101 MB / 1.522 GB, free: 284.7 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001589/2.361, allocations: 258.1 kB / 1.522 GB, free: 284.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.891/8.251, allocations: 0 / 1.522 GB, free: 284.4 MB / 0.9323 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1)