Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate",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.001056/0.001056, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001086/0.001086, allocations: 191.4 kB / 16.25 MB, free: 6.625 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.305/1.305, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002018/0.002018, allocations: 294.8 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.022/1.022, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 102.8 kB / 0.5948 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1463, allocations: 86.98 MB / 0.6797 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4279/0.5742, allocations: 165.3 MB / 0.8411 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005447/0.5796, allocations: 6.483 MB / 0.8474 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000407/0.5801, allocations: 15 kB / 0.8475 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004537/0.5806, allocations: 146.8 kB / 0.8476 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001677/0.5823, allocations: 0.785 MB / 0.8484 GB, free: 14 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007192/0.583, allocations: 304.2 kB / 0.8487 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006367/0.5837, allocations: 0.7163 MB / 0.8494 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003213/0.584, allocations: 263.9 kB / 0.8496 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008104/0.5848, allocations: 0.545 MB / 0.8501 GB, free: 13 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002714/0.5851, allocations: 290.6 kB / 0.8504 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.5851, allocations: 23.41 kB / 0.8504 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004685/0.5856, allocations: 350.2 kB / 0.8508 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.893e-05/0.5857, allocations: 112.3 kB / 0.8509 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.5858, allocations: 164.8 kB / 0.851 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004802/0.5863, allocations: 497.8 kB / 0.8515 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.5863, allocations: 3.938 kB / 0.8515 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5864, allocations: 0 / 0.8515 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.5864, allocations: 0 / 0.8515 GB, free: 12.25 MB / 0.5762 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.0006832/0.5871, allocations: 0.6126 MB / 0.8521 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.5871, allocations: 10.81 kB / 0.8521 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.455e-05/0.5871, allocations: 57.89 kB / 0.8522 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002594/0.5874, allocations: 61.59 kB / 0.8522 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.5877, allocations: 317.4 kB / 0.8525 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.5878, allocations: 19.34 kB / 0.8526 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/0.5878, allocations: 25.72 kB / 0.8526 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004508/0.5883, allocations: 321 kB / 0.8529 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.5883, allocations: 4 kB / 0.8529 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.5883, allocations: 10.62 kB / 0.8529 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.5883, allocations: 12.02 kB / 0.8529 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003612/0.5887, allocations: 200.8 kB / 0.8531 GB, free: 10.97 MB / 0.5762 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.001212/0.5899, allocations: 1.527 MB / 0.8546 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.5901, allocations: 128.5 kB / 0.8547 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.5903, allocations: 89.27 kB / 0.8548 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005431/0.5908, allocations: 303.7 kB / 0.8551 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.5909, allocations: 38.56 kB / 0.8551 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.5909, allocations: 2.812 kB / 0.8551 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0006344/0.5915, allocations: 271.3 kB / 0.8554 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.5915, allocations: 54.16 kB / 0.8554 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.5918, allocations: 309.1 kB / 0.8557 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.5918, allocations: 33.7 kB / 0.8558 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.911e-05/0.5919, allocations: 189.8 kB / 0.856 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.592, allocations: 43.28 kB / 0.856 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.897e-05/0.592, allocations: 37.19 kB / 0.856 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.474e-05/0.5921, allocations: 339.8 kB / 0.8564 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.5923, allocations: 56.73 kB / 0.8564 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.5925, allocations: 115.7 kB / 0.8565 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.5927, allocations: 172.5 kB / 0.8567 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.5928, allocations: 3.938 kB / 0.8567 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003534/0.5931, allocations: 215.4 kB / 0.8569 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.5931, allocations: 4.719 kB / 0.8569 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.5931, allocations: 2.781 kB / 0.8569 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.5932, allocations: 4.5 kB / 0.8569 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.5933, allocations: 45.38 kB / 0.8569 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.5933, allocations: 2.734 kB / 0.8569 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.5935, allocations: 28.8 kB / 0.857 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.5936, allocations: 11.78 kB / 0.857 GB, free: 7.648 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001138/0.5937, allocations: 155.7 kB / 0.8571 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.604e-05/0.5937, allocations: 32.47 kB / 0.8572 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003792/0.5941, allocations: 203 kB / 0.8574 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.5941, allocations: 2.281 kB / 0.8574 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.5941, allocations: 0 / 0.8574 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.5941, allocations: 0 / 0.8574 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008483/0.595, allocations: 0.6899 MB / 0.858 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.595, allocations: 2.625 kB / 0.858 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.5951, allocations: 28.09 kB / 0.8581 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.5951, allocations: 6.688 kB / 0.8581 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.5952, allocations: 5.125 kB / 0.8581 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/0.5952, allocations: 6.688 kB / 0.8581 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5952, allocations: 3.938 kB / 0.8581 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003655/0.5955, allocations: 333.9 kB / 0.8584 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.571e-05/0.5956, allocations: 117.4 kB / 0.8585 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.5957, allocations: 4.312 kB / 0.8585 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.5958, allocations: 26.11 kB / 0.8585 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.5959, allocations: 15.17 kB / 0.8586 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.5959, allocations: 5.375 kB / 0.8586 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001701/0.5961, allocations: 223.7 kB / 0.8588 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5961, allocations: 2.688 kB / 0.8588 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003366/0.5964, allocations: 69.31 kB / 0.8588 GB, free: 6.188 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001005/0.5974, allocations: 0.9342 MB / 0.8598 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003844/0.5978, allocations: 157.8 kB / 0.8599 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.5979, allocations: 2.25 kB / 0.8599 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.598, allocations: 86.08 kB / 0.86 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007782/0.5988, allocations: 151.9 kB / 0.8601 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003001/0.6018, allocations: 2.912 MB / 0.863 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.6021, allocations: 0.78 MB / 0.8637 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001727/0.6023, allocations: 63.03 kB / 0.8638 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.6024, allocations: 91.16 kB / 0.8639 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of SimCode: time 2.1e-07/0.6024, allocations: 0 / 0.8639 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.964/3.566, allocations: 7.897 MB / 0.8716 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003747/3.567, allocations: 260 kB / 0.8719 GB, free: 14 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.972/5.539, allocations: 0 / 0.8719 GB, free: 14 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)