Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.636/1.636, allocations: 288.2 MB / 303.2 MB, free: 8.121 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009948/0.0009951, allocations: 183.8 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.677/1.677, allocations: 205.4 MB / 0.6305 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009896/0.0009896, allocations: 97.31 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004368/0.0004369, allocations: 14.84 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2446, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.896/1.141, allocations: 305.6 MB / 1.278 GB, free: 6.555 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.06458/1.205, allocations: 41.99 MB / 1.319 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008802/1.214, allocations: 135.1 kB / 1.319 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.01023/1.224, allocations: 2.372 MB / 1.321 GB, free: 9.98 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.02628/1.251, allocations: 6.824 MB / 1.328 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01707/1.268, allocations: 4.58 MB / 1.332 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.01676/1.285, allocations: 6.69 MB / 1.339 GB, free: 7.906 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009178/1.294, allocations: 3.996 MB / 1.343 GB, free: 3.859 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01631/1.31, allocations: 4.252 MB / 1.347 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006261/1.316, allocations: 2.236 MB / 1.349 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.001836/1.318, allocations: 171.9 kB / 1.349 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01151/1.33, allocations: 2.91 MB / 1.352 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.003292/1.333, allocations: 1.215 MB / 1.353 GB, free: 9.043 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.003261/1.337, allocations: 0.9992 MB / 1.354 GB, free: 8.035 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.01227/1.349, allocations: 6.293 MB / 1.361 GB, free: 1.727 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/1.349, allocations: 0 / 1.361 GB, free: 1.727 MB / 0.8855 GB Notification: Performance of FrontEnd: time 5.01e-06/1.349, allocations: 4 kB / 1.361 GB, free: 1.723 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003686/1.349, allocations: 0 / 1.361 GB, free: 1.723 MB / 0.8855 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.01467/1.364, allocations: 4.665 MB / 1.365 GB, free: 12.97 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/1.364, allocations: 8.031 kB / 1.365 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001826/1.366, allocations: 467.9 kB / 1.366 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01153/1.377, allocations: 1.922 MB / 1.367 GB, free: 10.56 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01125/1.389, allocations: 3.445 MB / 1.371 GB, free: 7.055 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002057/1.391, allocations: 0.6931 MB / 1.372 GB, free: 6.336 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001418/1.392, allocations: 348 kB / 1.372 GB, free: 5.996 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01357/1.406, allocations: 4.556 MB / 1.376 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001037/1.406, allocations: 3.938 kB / 1.376 GB, free: 1.34 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000813/1.407, allocations: 140 kB / 1.376 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001496/1.407, allocations: 134.5 kB / 1.377 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01011/1.417, allocations: 4.163 MB / 1.381 GB, free: 12.9 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 preOpt removeSimpleEquations (simulation): time 0.0304/1.447, allocations: 18.85 MB / 1.399 GB, free: 8.672 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004428/1.452, allocations: 2.033 MB / 1.401 GB, free: 6.602 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004467/1.452, allocations: 174.3 kB / 1.401 GB, free: 6.414 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002755/1.455, allocations: 1.259 MB / 1.402 GB, free: 5.125 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002154/1.457, allocations: 181.9 kB / 1.403 GB, free: 4.945 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=135): time 6.382e-06/1.457, allocations: 4 kB / 1.403 GB, free: 4.941 MB / 0.9323 GB Notification: Performance of matching and sorting (n=135): time 0.009456/1.467, allocations: 3.279 MB / 1.406 GB, free: 1.629 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/1.467, allocations: 226.6 kB / 1.406 GB, free: 1.359 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006791/1.474, allocations: 3.626 MB / 1.41 GB, free: 13.71 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005627/1.474, allocations: 61.81 kB / 1.41 GB, free: 13.64 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00204/1.476, allocations: 2.017 MB / 1.412 GB, free: 11.61 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007153/1.477, allocations: 477.2 kB / 1.412 GB, free: 11.14 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/1.477, allocations: 36 kB / 1.412 GB, free: 11.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001906/1.478, allocations: 373.9 kB / 1.412 GB, free: 10.73 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003089/1.481, allocations: 1.14 MB / 1.414 GB, free: 9.59 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003617/1.484, allocations: 1.817 MB / 1.415 GB, free: 7.477 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003454/1.488, allocations: 1.304 MB / 1.417 GB, free: 6.168 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.394e-05/1.488, allocations: 4 kB / 1.417 GB, free: 6.164 MB / 0.948 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.00956/1.497, allocations: 3.251 MB / 1.42 GB, free: 2.895 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003203/1.501, allocations: 7.354 MB / 1.427 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.34e-05/1.501, allocations: 16 kB / 1.427 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.757e-05/1.501, allocations: 32 kB / 1.427 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003104/1.504, allocations: 0.5812 MB / 1.428 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.557e-05/1.504, allocations: 39.86 kB / 1.428 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005516/1.509, allocations: 0.6175 MB / 1.428 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003013/1.51, allocations: 95.95 kB / 1.428 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/1.51, allocations: 4.625 kB / 1.428 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007277/1.517, allocations: 2.891 MB / 1.431 GB, free: 6.84 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.693e-05/1.517, allocations: 16 kB / 1.431 GB, free: 6.824 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.074e-05/1.517, allocations: 31.95 kB / 1.431 GB, free: 6.793 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002601/1.52, allocations: 0.5775 MB / 1.432 GB, free: 6.215 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.783e-05/1.52, allocations: 35.86 kB / 1.432 GB, free: 6.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004956/1.525, allocations: 0.5395 MB / 1.432 GB, free: 5.637 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002421/1.525, allocations: 87.97 kB / 1.432 GB, free: 5.551 MB / 0.9636 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.002662/1.528, allocations: 1.126 MB / 1.433 GB, free: 4.414 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001075/1.529, allocations: 367.4 kB / 1.434 GB, free: 4.051 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006605/1.535, allocations: 2.499 MB / 1.436 GB, free: 1.523 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.363e-05/1.536, allocations: 16 kB / 1.436 GB, free: 1.508 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.691e-05/1.536, allocations: 0 / 1.436 GB, free: 1.508 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.6478/2.183, allocations: 1.927 MB / 1.438 GB, free: 360.3 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02379/2.207, allocations: 7.826 MB / 1.446 GB, free: 357.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.563e-05/2.207, allocations: 16.03 kB / 1.446 GB, free: 357.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002227/2.21, allocations: 375.4 kB / 1.446 GB, free: 357.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003258/2.21, allocations: 63.17 kB / 1.446 GB, free: 357.7 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001611/2.21, allocations: 47.47 kB / 1.446 GB, free: 357.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/2.211, allocations: 1.453 MB / 1.448 GB, free: 356.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.526e-05/2.211, allocations: 19.44 kB / 1.448 GB, free: 356.3 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01153/2.223, allocations: 5.33 MB / 1.453 GB, free: 352.9 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003417/2.226, allocations: 0.6808 MB / 1.454 GB, free: 352.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001035/2.228, allocations: 47.36 kB / 1.454 GB, free: 352.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004372/2.232, allocations: 440.4 kB / 1.454 GB, free: 352.5 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003515/2.232, allocations: 126.6 kB / 1.454 GB, free: 352.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002127/2.232, allocations: 72.92 kB / 1.454 GB, free: 352.5 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.007005/2.239, allocations: 2.506 MB / 1.457 GB, free: 351.6 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.72e-07/2.24, allocations: 0 / 1.457 GB, free: 351.6 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01003/2.25, allocations: 2.005 MB / 1.459 GB, free: 351.3 MB / 0.9636 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.01277/2.262, allocations: 8.876 MB / 1.467 GB, free: 344.9 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01168/2.274, allocations: 4.019 MB / 1.471 GB, free: 343.7 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.359e-05/2.274, allocations: 3.406 kB / 1.471 GB, free: 343.7 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.004253/2.278, allocations: 1.229 MB / 1.472 GB, free: 343.2 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01287/2.291, allocations: 1.916 MB / 1.474 GB, free: 342.9 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03251/2.324, allocations: 22.5 MB / 1.496 GB, free: 325.2 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003594/2.328, allocations: 2.738 MB / 1.499 GB, free: 324.2 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.006557/2.334, allocations: 0.9873 MB / 1.5 GB, free: 324 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003115/2.337, allocations: 1.752 MB / 1.502 GB, free: 322.6 MB / 0.9636 GB Notification: Performance of SimCode: time 2.004e-06/2.337, allocations: 0 / 1.502 GB, free: 322.6 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1751/2.512, allocations: 101.4 MB / 1.601 GB, free: 230 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001715/2.513, allocations: 262.2 kB / 1.601 GB, free: 229.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.696/8.208, allocations: 0 / 1.601 GB, free: 229.7 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1)