Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.694/2.694, allocations: 287.3 MB / 302.3 MB, free: 8.293 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.001672/0.001672, allocations: 185 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.227/2.227, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001195/0.001195, allocations: 85.69 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006603/0.0006605, allocations: 12.91 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.236, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.9971/1.233, allocations: 140.3 MB / 1.115 GB, free: 0.9766 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01062/1.244, allocations: 5.267 MB / 1.12 GB, free: 0.5625 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007191/1.245, allocations: 9.844 kB / 1.12 GB, free: 0.5586 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009933/1.246, allocations: 190.4 kB / 1.121 GB, free: 0.5234 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003039/1.249, allocations: 0.5667 MB / 1.121 GB, free: 0.4922 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001835/1.251, allocations: 342 kB / 1.122 GB, free: 496 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001198/1.252, allocations: 435.1 kB / 1.122 GB, free: 476 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005734/1.252, allocations: 215 kB / 1.122 GB, free: 452 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001615/1.254, allocations: 435.7 kB / 1.123 GB, free: 396 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004634/1.255, allocations: 195.5 kB / 1.123 GB, free: 360 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.778e-05/1.255, allocations: 12.31 kB / 1.123 GB, free: 360 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008935/1.256, allocations: 202.1 kB / 1.123 GB, free: 352 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001524/1.256, allocations: 91.55 kB / 1.123 GB, free: 340 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001511/1.256, allocations: 86.39 kB / 1.123 GB, free: 16.29 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006404/1.257, allocations: 318.9 kB / 1.123 GB, free: 16.26 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/1.257, allocations: 0 / 1.123 GB, free: 16.26 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.124e-06/1.257, allocations: 0 / 1.123 GB, free: 16.26 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.623e-06/1.257, allocations: 0 / 1.123 GB, free: 16.26 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001078/1.258, allocations: 0.5625 MB / 1.124 GB, free: 15.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/1.258, allocations: 7.875 kB / 1.124 GB, free: 15.8 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.197e-05/1.258, allocations: 66.27 kB / 1.124 GB, free: 15.76 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004107/1.258, allocations: 58.45 kB / 1.124 GB, free: 15.74 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005587/1.259, allocations: 298.3 kB / 1.124 GB, free: 15.51 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/1.259, allocations: 24.34 kB / 1.124 GB, free: 15.51 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.966e-05/1.259, allocations: 21.91 kB / 1.124 GB, free: 15.51 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008228/1.26, allocations: 331.7 kB / 1.125 GB, free: 15.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/1.26, allocations: 2.875 kB / 1.125 GB, free: 15.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.378e-05/1.26, allocations: 9.094 kB / 1.125 GB, free: 15.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/1.26, allocations: 4.781 kB / 1.125 GB, free: 15.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006611/1.261, allocations: 217 kB / 1.125 GB, free: 15.39 MB / 0.698 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.002233/1.263, allocations: 1.533 MB / 1.126 GB, free: 14.24 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003746/1.263, allocations: 125.8 kB / 1.127 GB, free: 14.21 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006617/1.264, allocations: 132.3 kB / 1.127 GB, free: 14.11 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/1.264, allocations: 38.2 kB / 1.127 GB, free: 14.07 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 2.595e-06/1.264, allocations: 4 kB / 1.127 GB, free: 14.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.00119/1.265, allocations: 280.2 kB / 1.127 GB, free: 14.02 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/1.265, allocations: 61.55 kB / 1.127 GB, free: 13.95 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004555/1.266, allocations: 308.7 kB / 1.127 GB, free: 13.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/1.266, allocations: 33.66 kB / 1.127 GB, free: 13.81 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/1.266, allocations: 179.9 kB / 1.128 GB, free: 13.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.617e-05/1.266, allocations: 44.27 kB / 1.128 GB, free: 13.67 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.341e-05/1.266, allocations: 5.438 kB / 1.128 GB, free: 13.67 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001732/1.266, allocations: 338 kB / 1.128 GB, free: 13.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/1.266, allocations: 63.69 kB / 1.128 GB, free: 13.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000306/1.267, allocations: 115.9 kB / 1.128 GB, free: 13.31 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/1.267, allocations: 81.16 kB / 1.128 GB, free: 13.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.267, allocations: 3.094 kB / 1.128 GB, free: 13.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00072/1.268, allocations: 229.8 kB / 1.128 GB, free: 13.24 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/1.268, allocations: 7.188 kB / 1.128 GB, free: 13.24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/1.268, allocations: 2.406 kB / 1.128 GB, free: 13.24 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/1.268, allocations: 2.812 kB / 1.128 GB, free: 13.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003/1.268, allocations: 37.06 kB / 1.128 GB, free: 13.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/1.268, allocations: 0 / 1.128 GB, free: 13.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003448/1.269, allocations: 44.05 kB / 1.129 GB, free: 13.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.051e-05/1.269, allocations: 8.625 kB / 1.129 GB, free: 13.22 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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.0002353/1.269, allocations: 151.5 kB / 1.129 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.422e-05/1.269, allocations: 32.05 kB / 1.129 GB, free: 13.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007188/1.27, allocations: 221.4 kB / 1.129 GB, free: 13.03 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/1.27, allocations: 1.344 kB / 1.129 GB, free: 13.03 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/1.27, allocations: 0 / 1.129 GB, free: 13.03 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/1.27, allocations: 3.578 kB / 1.129 GB, free: 13.03 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/1.271, allocations: 0.6982 MB / 1.13 GB, free: 12.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/1.271, allocations: 8.812 kB / 1.13 GB, free: 12.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/1.272, allocations: 29.84 kB / 1.13 GB, free: 12.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/1.272, allocations: 6.781 kB / 1.13 GB, free: 12.64 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/1.272, allocations: 3.25 kB / 1.13 GB, free: 12.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/1.272, allocations: 0 / 1.13 GB, free: 12.64 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/1.272, allocations: 7.406 kB / 1.13 GB, free: 12.64 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007496/1.272, allocations: 434.3 kB / 1.13 GB, free: 12.31 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/1.273, allocations: 120.8 kB / 1.13 GB, free: 12.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.042e-05/1.273, allocations: 8.516 kB / 1.13 GB, free: 12.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002911/1.273, allocations: 15.84 kB / 1.13 GB, free: 12.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.356e-05/1.273, allocations: 21.73 kB / 1.13 GB, free: 12.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/1.273, allocations: 7.312 kB / 1.13 GB, free: 12.18 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003073/1.273, allocations: 224 kB / 1.13 GB, free: 12.11 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.273, allocations: 0 / 1.13 GB, free: 12.11 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005627/1.274, allocations: 75.56 kB / 1.131 GB, free: 12.09 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001707/1.276, allocations: 1.493 MB / 1.132 GB, free: 10.77 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006555/1.276, allocations: 167.3 kB / 1.132 GB, free: 10.75 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/1.276, allocations: 1.859 kB / 1.132 GB, free: 10.75 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003008/1.277, allocations: 88.36 kB / 1.132 GB, free: 10.74 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/1.278, allocations: 141.3 kB / 1.132 GB, free: 10.73 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004128/1.282, allocations: 2.401 MB / 1.135 GB, free: 9.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005262/1.283, allocations: 0.7946 MB / 1.135 GB, free: 8.566 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004221/1.283, allocations: 64.59 kB / 1.136 GB, free: 8.555 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/1.283, allocations: 95.59 kB / 1.136 GB, free: 8.543 MB / 0.698 GB Notification: Performance of SimCode: time 1.282e-06/1.283, allocations: 0 / 1.136 GB, free: 8.543 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03587/1.319, allocations: 7.507 MB / 1.143 GB, free: 5.789 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003793/1.32, allocations: 221.7 kB / 1.143 GB, free: 5.547 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.741/4.061, allocations: 0 / 1.143 GB, free: 5.547 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)