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.379/1.379, allocations: 252 MB / 267 MB, free: 10.97 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.00107/0.00107, allocations: 184.4 kB / 326.6 MB, free: 2.223 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.895/1.895, allocations: 205.4 MB / 0.5777 GB, free: 20.23 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.0007628/0.0007626, allocations: 88.02 kB / 0.6822 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003585, allocations: 9.281 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2453, allocations: 106.4 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.9438/1.189, allocations: 348 MB / 1.24 GB, free: 6.211 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.06755/1.257, allocations: 44.22 MB / 1.283 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01173/1.269, allocations: 139.1 kB / 1.283 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.009367/1.278, allocations: 1.793 MB / 1.285 GB, free: 7.969 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.02266/1.301, allocations: 5.488 MB / 1.291 GB, free: 2.457 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0103/1.311, allocations: 2.796 MB / 1.293 GB, free: 15.69 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0217/1.333, allocations: 13.11 MB / 1.306 GB, free: 2.543 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008324/1.341, allocations: 3.949 MB / 1.31 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01457/1.356, allocations: 4.672 MB / 1.315 GB, free: 9.848 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008577/1.364, allocations: 3.396 MB / 1.318 GB, free: 6.438 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.001842/1.366, allocations: 172 kB / 1.318 GB, free: 6.27 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01279/1.379, allocations: 3.356 MB / 1.321 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.003673/1.383, allocations: 1.339 MB / 1.323 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.00355/1.386, allocations: 1.003 MB / 1.324 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.01327/1.4, allocations: 6.624 MB / 1.33 GB, free: 9.91 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/1.4, allocations: 0 / 1.33 GB, free: 9.91 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.467e-06/1.4, allocations: 0 / 1.33 GB, free: 9.91 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0003148/1.4, allocations: 4 kB / 1.33 GB, free: 9.906 MB / 0.8542 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.01409/1.414, allocations: 4.759 MB / 1.335 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.098e-05/1.414, allocations: 12.03 kB / 1.335 GB, free: 5.047 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001858/1.416, allocations: 475.9 kB / 1.335 GB, free: 4.57 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01138/1.428, allocations: 1.867 MB / 1.337 GB, free: 2.695 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01034/1.438, allocations: 3.386 MB / 1.34 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002126/1.44, allocations: 0.6931 MB / 1.341 GB, free: 14.53 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00162/1.442, allocations: 355.9 kB / 1.341 GB, free: 14.18 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01254/1.454, allocations: 4.603 MB / 1.346 GB, free: 9.48 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-05/1.454, allocations: 7.922 kB / 1.346 GB, free: 9.473 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004342/1.455, allocations: 144 kB / 1.346 GB, free: 9.332 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001493/1.455, allocations: 134.5 kB / 1.346 GB, free: 9.199 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0113/1.466, allocations: 4.191 MB / 1.35 GB, free: 5 MB / 0.8698 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.03735/1.504, allocations: 18.78 MB / 1.369 GB, free: 0.8867 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005003/1.509, allocations: 2.064 MB / 1.371 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002641/1.511, allocations: 1.082 MB / 1.372 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008258/1.512, allocations: 449.5 kB / 1.372 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003107/1.515, allocations: 1.284 MB / 1.373 GB, free: 11.88 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002468/1.518, allocations: 178 kB / 1.373 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=135): time 6.321e-06/1.518, allocations: 0 / 1.373 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of matching and sorting (n=135): time 0.009508/1.527, allocations: 3.283 MB / 1.377 GB, free: 8.387 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/1.528, allocations: 149.8 kB / 1.377 GB, free: 8.207 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006805/1.534, allocations: 3.654 MB / 1.38 GB, free: 4.527 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0005981/1.535, allocations: 61.7 kB / 1.38 GB, free: 4.461 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.002135/1.537, allocations: 2.005 MB / 1.382 GB, free: 2.441 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007448/1.538, allocations: 473.2 kB / 1.383 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/1.538, allocations: 36 kB / 1.383 GB, free: 1.938 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001948/1.538, allocations: 373.9 kB / 1.383 GB, free: 1.566 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003215/1.542, allocations: 1.152 MB / 1.384 GB, free: 424 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004077/1.546, allocations: 1.822 MB / 1.386 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003662/1.549, allocations: 1.319 MB / 1.387 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.24e-05/1.549, allocations: 4 kB / 1.387 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.00911/1.559, allocations: 3.259 MB / 1.391 GB, free: 9.691 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005957/1.559, allocations: 0.588 MB / 1.391 GB, free: 8.879 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.84e-05/1.559, allocations: 16 kB / 1.391 GB, free: 8.863 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.688e-05/1.559, allocations: 28 kB / 1.391 GB, free: 8.836 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002889/1.562, allocations: 0.5773 MB / 1.392 GB, free: 8.258 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.016e-05/1.562, allocations: 35.86 kB / 1.392 GB, free: 8.223 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005469/1.568, allocations: 0.6239 MB / 1.392 GB, free: 7.602 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003353/1.568, allocations: 92.59 kB / 1.392 GB, free: 7.512 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/1.568, allocations: 4 kB / 1.392 GB, free: 7.508 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007485/1.576, allocations: 2.914 MB / 1.395 GB, free: 4.586 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.166e-05/1.576, allocations: 16 kB / 1.395 GB, free: 4.57 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.046e-05/1.576, allocations: 28 kB / 1.395 GB, free: 4.543 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002781/1.578, allocations: 0.5737 MB / 1.396 GB, free: 3.969 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-05/1.579, allocations: 35.86 kB / 1.396 GB, free: 3.934 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00507/1.584, allocations: 0.5413 MB / 1.397 GB, free: 3.391 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000279/1.584, allocations: 88.06 kB / 1.397 GB, free: 3.305 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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.002866/1.587, allocations: 1.133 MB / 1.398 GB, free: 2.16 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001061/1.588, allocations: 379.1 kB / 1.398 GB, free: 1.785 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5922/2.18, allocations: 2.604 MB / 1.401 GB, free: 357.5 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/2.18, allocations: 14.41 kB / 1.401 GB, free: 357.5 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/2.18, allocations: 6.688 kB / 1.401 GB, free: 357.5 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004897/2.185, allocations: 2.203 MB / 1.403 GB, free: 357.1 MB / 0.9167 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 postOpt removeSimpleEquations (simulation): time 0.01974/2.205, allocations: 7.071 MB / 1.41 GB, free: 356 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-05/2.205, allocations: 9.594 kB / 1.41 GB, free: 356 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002275/2.207, allocations: 366 kB / 1.41 GB, free: 356 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003658/2.208, allocations: 59.62 kB / 1.41 GB, free: 356 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001583/2.208, allocations: 46.23 kB / 1.41 GB, free: 356 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001205/2.209, allocations: 1.44 MB / 1.412 GB, free: 354.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.598e-05/2.209, allocations: 13.44 kB / 1.412 GB, free: 354.7 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009912/2.219, allocations: 3.872 MB / 1.415 GB, free: 354.2 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002659/2.222, allocations: 0.6834 MB / 1.416 GB, free: 354.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006846/2.222, allocations: 38.16 kB / 1.416 GB, free: 354.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003728/2.226, allocations: 444.7 kB / 1.416 GB, free: 354 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003166/2.226, allocations: 122.5 kB / 1.417 GB, free: 354 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001984/2.227, allocations: 66.09 kB / 1.417 GB, free: 354 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.005993/2.233, allocations: 2.53 MB / 1.419 GB, free: 353.8 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4.6e-07/2.233, allocations: 0 / 1.419 GB, free: 353.8 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.008796/2.241, allocations: 1.978 MB / 1.421 GB, free: 353.7 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * 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.01181/2.253, allocations: 4.801 MB / 1.426 GB, free: 351.7 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01046/2.264, allocations: 4.045 MB / 1.43 GB, free: 350.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.499e-05/2.264, allocations: 0 / 1.43 GB, free: 350.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002796/2.267, allocations: 1.207 MB / 1.431 GB, free: 350 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01038/2.277, allocations: 1.936 MB / 1.433 GB, free: 349.7 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06858/2.346, allocations: 28.51 MB / 1.461 GB, free: 325.1 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00301/2.349, allocations: 2.664 MB / 1.463 GB, free: 322.4 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.006749/2.356, allocations: 0.9802 MB / 1.464 GB, free: 321.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003059/2.359, allocations: 1.741 MB / 1.466 GB, free: 319.8 MB / 0.9167 GB Notification: Performance of SimCode: time 1.452e-06/2.359, allocations: 0 / 1.466 GB, free: 319.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1629/2.522, allocations: 103.7 MB / 1.567 GB, free: 216.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/2.522, allocations: 274.9 kB / 1.567 GB, free: 216.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.244/8.766, allocations: 0 / 1.567 GB, free: 216.4 MB / 0.9167 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)