Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="Buildings_9_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.006159/0.006159, allocations: 99.66 kB / 15.73 MB, free: 6.035 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.001519/0.001519, allocations: 195.1 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.175/1.175, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.055/2.055, allocations: 390.3 MB / 0.6648 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 62.31 kB / 0.9504 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.221, allocations: 140.4 MB / 1.087 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.8265/1.048, allocations: 379.3 MB / 1.458 GB, free: 3.457 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.05392/1.102, allocations: 44.45 MB / 1.501 GB, free: 7.746 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006268/1.108, allocations: 171.1 kB / 1.501 GB, free: 7.578 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.007346/1.115, allocations: 2.808 MB / 1.504 GB, free: 4.754 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01853/1.134, allocations: 7.298 MB / 1.511 GB, free: 13.43 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.009066/1.143, allocations: 3.794 MB / 1.515 GB, free: 9.66 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0136/1.156, allocations: 11.52 MB / 1.526 GB, free: 14.11 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006633/1.163, allocations: 5.545 MB / 1.532 GB, free: 8.48 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01117/1.174, allocations: 6.368 MB / 1.538 GB, free: 2.09 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005489/1.18, allocations: 3.611 MB / 1.541 GB, free: 14.48 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0007377/1.181, allocations: 496 kB / 1.542 GB, free: 14 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01068/1.191, allocations: 6.154 MB / 1.548 GB, free: 7.828 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001687/1.193, allocations: 1.722 MB / 1.55 GB, free: 6.102 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.003052/1.196, allocations: 2.768 MB / 1.552 GB, free: 3.32 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01199/1.208, allocations: 9.286 MB / 1.561 GB, free: 10.01 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/1.208, allocations: 0 / 1.561 GB, free: 10.01 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.292e-06/1.208, allocations: 0 / 1.561 GB, free: 10.01 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.039e-05/1.208, allocations: 0 / 1.561 GB, free: 10.01 MB / 1.186 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.009091/1.217, allocations: 5.626 MB / 1.567 GB, free: 4.289 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/1.217, allocations: 15.97 kB / 1.567 GB, free: 4.273 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005207/1.218, allocations: 475.8 kB / 1.567 GB, free: 3.797 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01135/1.229, allocations: 1.964 MB / 1.569 GB, free: 1.824 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007391/1.237, allocations: 3.803 MB / 1.573 GB, free: 13.96 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000293/1.237, allocations: 389.5 kB / 1.573 GB, free: 13.55 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004909/1.237, allocations: 340 kB / 1.574 GB, free: 13.22 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007972/1.245, allocations: 4.525 MB / 1.578 GB, free: 8.586 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.085e-05/1.245, allocations: 3.984 kB / 1.578 GB, free: 8.582 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003308/1.246, allocations: 144 kB / 1.578 GB, free: 8.441 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001207/1.246, allocations: 134.5 kB / 1.578 GB, free: 8.309 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00872/1.255, allocations: 3.991 MB / 1.582 GB, free: 4.309 MB / 1.201 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.02475/1.279, allocations: 18.86 MB / 1.601 GB, free: 72 kB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0042/1.284, allocations: 1.852 MB / 1.603 GB, free: 14.18 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002232/1.286, allocations: 0.945 MB / 1.603 GB, free: 13.23 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006326/1.286, allocations: 409.9 kB / 1.604 GB, free: 12.76 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00249/1.289, allocations: 1.116 MB / 1.605 GB, free: 11.61 MB / 1.232 GB Notification: Performance of pre-optimization done (n=129): time 2.975e-06/1.289, allocations: 0 / 1.605 GB, free: 11.61 MB / 1.232 GB Notification: Performance of matching and sorting (n=129): time 0.007996/1.297, allocations: 2.944 MB / 1.608 GB, free: 8.641 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.647e-05/1.297, allocations: 145.8 kB / 1.608 GB, free: 8.469 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004383/1.301, allocations: 3.483 MB / 1.611 GB, free: 4.969 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001473/1.302, allocations: 53.7 kB / 1.611 GB, free: 4.91 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.00173/1.303, allocations: 2.149 MB / 1.613 GB, free: 2.738 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003849/1.304, allocations: 465.5 kB / 1.614 GB, free: 2.277 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006621/1.304, allocations: 475.8 kB / 1.614 GB, free: 1.805 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 7.909e-05/1.305, allocations: 301.1 kB / 1.615 GB, free: 1.508 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002663/1.307, allocations: 1.052 MB / 1.616 GB, free: 456 kB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003289/1.311, allocations: 2.073 MB / 1.618 GB, free: 13.88 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005537/1.316, allocations: 3.087 MB / 1.621 GB, free: 10.35 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.497e-05/1.316, allocations: 12 kB / 1.621 GB, free: 10.34 MB / 1.248 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.007274/1.323, allocations: 3.377 MB / 1.624 GB, free: 6.945 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 4.519e-05/1.323, allocations: 45.7 kB / 1.624 GB, free: 6.895 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.848e-05/1.323, allocations: 32 kB / 1.624 GB, free: 6.863 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.482e-05/1.324, allocations: 47.98 kB / 1.624 GB, free: 6.816 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002572/1.326, allocations: 0.6246 MB / 1.625 GB, free: 6.191 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.934e-05/1.326, allocations: 63.78 kB / 1.625 GB, free: 6.129 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003214/1.329, allocations: 462.2 kB / 1.625 GB, free: 5.676 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001924/1.33, allocations: 127.9 kB / 1.625 GB, free: 5.551 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004079/1.334, allocations: 1.96 MB / 1.627 GB, free: 3.582 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003257/1.337, allocations: 2.042 MB / 1.629 GB, free: 1.051 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005509/1.342, allocations: 3.028 MB / 1.632 GB, free: 13.58 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.248e-05/1.342, allocations: 8 kB / 1.632 GB, free: 13.57 MB / 1.264 GB Notification: Performance of matching and sorting (n=288) (initialization_lambda0): time 0.007308/1.35, allocations: 3.311 MB / 1.635 GB, free: 10.24 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 4.094e-05/1.35, allocations: 47.73 kB / 1.636 GB, free: 10.19 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.76e-05/1.35, allocations: 32 kB / 1.636 GB, free: 10.16 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.406e-05/1.35, allocations: 44 kB / 1.636 GB, free: 10.12 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002573/1.352, allocations: 0.6245 MB / 1.636 GB, free: 9.492 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.021e-05/1.353, allocations: 67.72 kB / 1.636 GB, free: 9.426 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003209/1.356, allocations: 375.5 kB / 1.637 GB, free: 9.055 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001832/1.356, allocations: 127.9 kB / 1.637 GB, free: 8.93 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (284): * Single equations (assignments): 280 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005215/1.356, allocations: 351.3 kB / 1.637 GB, free: 8.578 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000438/1.357, allocations: 355.5 kB / 1.637 GB, free: 8.227 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005609/1.363, allocations: 2.369 MB / 1.64 GB, free: 5.824 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/1.363, allocations: 16 kB / 1.64 GB, free: 5.809 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/1.363, allocations: 0 / 1.64 GB, free: 5.809 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00438/1.367, allocations: 1.984 MB / 1.642 GB, free: 3.734 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01116/1.378, allocations: 6.237 MB / 1.648 GB, free: 13.26 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/1.378, allocations: 8 kB / 1.648 GB, free: 13.25 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001739/1.38, allocations: 328.2 kB / 1.648 GB, free: 12.93 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002081/1.38, allocations: 56.81 kB / 1.648 GB, free: 12.88 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/1.38, allocations: 43.98 kB / 1.648 GB, free: 12.83 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/1.381, allocations: 1.55 MB / 1.65 GB, free: 11.14 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-05/1.381, allocations: 15.92 kB / 1.65 GB, free: 11.12 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007263/1.389, allocations: 3.359 MB / 1.653 GB, free: 7.625 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/1.39, allocations: 0.6251 MB / 1.654 GB, free: 6.977 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003672/1.39, allocations: 35.98 kB / 1.654 GB, free: 6.941 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002286/1.393, allocations: 180 kB / 1.654 GB, free: 6.766 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/1.393, allocations: 112.6 kB / 1.654 GB, free: 6.652 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/1.393, allocations: 71.95 kB / 1.654 GB, free: 6.582 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003421/1.396, allocations: 2.344 MB / 1.656 GB, free: 4.23 MB / 1.279 GB Notification: Performance of sort global known variables: time 2.224e-06/1.396, allocations: 0 / 1.656 GB, free: 4.23 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.004593/1.401, allocations: 2.002 MB / 1.658 GB, free: 2.223 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 4 (conPI.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * 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 (127): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008197/1.409, allocations: 4.317 MB / 1.662 GB, free: 13.76 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.009018/1.418, allocations: 3.938 MB / 1.666 GB, free: 9.809 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/1.418, allocations: 0 / 1.666 GB, free: 9.809 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002554/1.421, allocations: 1.08 MB / 1.667 GB, free: 8.723 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007134/1.428, allocations: 1.729 MB / 1.669 GB, free: 7.02 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04457/1.473, allocations: 27.56 MB / 1.696 GB, free: 9.996 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002043/1.475, allocations: 2.665 MB / 1.699 GB, free: 7.293 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.00354/1.478, allocations: 1.068 MB / 1.7 GB, free: 6.223 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001923/1.48, allocations: 1.733 MB / 1.701 GB, free: 4.488 MB / 1.326 GB Notification: Performance of SimCode: time 7.12e-07/1.48, allocations: 0 / 1.701 GB, free: 4.488 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.906/3.386, allocations: 88.03 MB / 1.787 GB, free: 13.35 MB / 1.42 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.26/24.64, allocations: 2.5 kB / 1.787 GB, free: 13.35 MB / 1.42 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust.fmu > Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1)