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.004206/0.004206, allocations: 103.1 kB / 15.73 MB, free: 6.047 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.00105/0.00105, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.211/1.211, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001993/0.001993, allocations: 298.3 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8808/0.8808, allocations: 169.3 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 99.86 kB / 0.681 GB, free: 7.441 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3916, allocations: 86.98 MB / 0.7659 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1576/0.5493, allocations: 167.5 MB / 0.9295 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007351/0.5566, allocations: 6.536 MB / 0.9359 GB, free: 5.121 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004559/0.5571, allocations: 11.94 kB / 0.9359 GB, free: 5.109 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005567/0.5578, allocations: 178.7 kB / 0.9361 GB, free: 4.934 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001992/0.5598, allocations: 0.8401 MB / 0.9369 GB, free: 4.09 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008786/0.5607, allocations: 323.3 kB / 0.9372 GB, free: 3.773 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0007631/0.5615, allocations: 0.7173 MB / 0.9379 GB, free: 3.055 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003959/0.5619, allocations: 282.8 kB / 0.9382 GB, free: 2.781 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.5629, allocations: 0.5564 MB / 0.9387 GB, free: 2.223 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000352/0.5632, allocations: 271 kB / 0.939 GB, free: 1.957 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.954e-05/0.5633, allocations: 24 kB / 0.939 GB, free: 1.934 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005677/0.5639, allocations: 331.2 kB / 0.9393 GB, free: 1.609 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.564, allocations: 111.7 kB / 0.9394 GB, free: 1.5 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.5642, allocations: 163.2 kB / 0.9396 GB, free: 1.34 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0006036/0.5648, allocations: 478.5 kB / 0.94 GB, free: 0.8711 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.5648, allocations: 4 kB / 0.94 GB, free: 0.8672 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5648, allocations: 3.938 kB / 0.94 GB, free: 0.8633 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.5648, allocations: 0 / 0.94 GB, free: 0.8633 MB / 0.7012 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.0007817/0.5656, allocations: 0.6117 MB / 0.9406 GB, free: 208 kB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.5656, allocations: 16.02 kB / 0.9407 GB, free: 192 kB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.409e-05/0.5657, allocations: 58.55 kB / 0.9407 GB, free: 124 kB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002998/0.566, allocations: 67.44 kB / 0.9408 GB, free: 56 kB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004378/0.5665, allocations: 317.3 kB / 0.9411 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.5665, allocations: 16.56 kB / 0.9411 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.065e-05/0.5665, allocations: 28 kB / 0.9411 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004904/0.567, allocations: 327.6 kB / 0.9414 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.5671, allocations: 0 / 0.9414 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.5671, allocations: 12 kB / 0.9415 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.5671, allocations: 8 kB / 0.9415 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003822/0.5675, allocations: 209.4 kB / 0.9417 GB, free: 15.09 MB / 0.7169 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.001406/0.5689, allocations: 1.53 MB / 0.9432 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.5692, allocations: 124.1 kB / 0.9433 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.5693, allocations: 92.8 kB / 0.9434 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005413/0.5699, allocations: 303.2 kB / 0.9436 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.5699, allocations: 34.55 kB / 0.9437 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.452e-06/0.5699, allocations: 0 / 0.9437 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.000679/0.5706, allocations: 273.4 kB / 0.9439 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.5707, allocations: 59.34 kB / 0.944 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.5709, allocations: 308.5 kB / 0.9443 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.571, allocations: 33.64 kB / 0.9443 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.5711, allocations: 176.2 kB / 0.9445 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.5711, allocations: 51.3 kB / 0.9445 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.876e-05/0.5712, allocations: 37.7 kB / 0.9446 GB, free: 11.85 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.5713, allocations: 338.8 kB / 0.9449 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.5714, allocations: 63.86 kB / 0.945 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.5716, allocations: 109.1 kB / 0.9451 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002882/0.5719, allocations: 176.9 kB / 0.9452 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5719, allocations: 0 / 0.9452 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003821/0.5723, allocations: 221.1 kB / 0.9454 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.5723, allocations: 4 kB / 0.9454 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.5723, allocations: 0 / 0.9454 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.5724, allocations: 4 kB / 0.9455 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.5725, allocations: 35.91 kB / 0.9455 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.5725, allocations: 4 kB / 0.9455 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.5727, allocations: 35.89 kB / 0.9455 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.5728, allocations: 4 kB / 0.9455 GB, free: 10.82 MB / 0.7169 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.0001369/0.5729, allocations: 153.7 kB / 0.9457 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.553e-05/0.5729, allocations: 23.72 kB / 0.9457 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000403/0.5734, allocations: 210.1 kB / 0.9459 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.5734, allocations: 0 / 0.9459 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.5734, allocations: 4 kB / 0.9459 GB, free: 10.42 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.5734, allocations: 0 / 0.9459 GB, free: 10.42 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008918/0.5743, allocations: 0.6873 MB / 0.9466 GB, free: 9.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.5743, allocations: 0 / 0.9466 GB, free: 9.656 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.5744, allocations: 28.05 kB / 0.9466 GB, free: 9.629 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5744, allocations: 4 kB / 0.9466 GB, free: 9.625 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.5745, allocations: 15.88 kB / 0.9466 GB, free: 9.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.5745, allocations: 4 kB / 0.9466 GB, free: 9.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5745, allocations: 3.938 kB / 0.9466 GB, free: 9.602 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003793/0.5749, allocations: 341.3 kB / 0.947 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.757e-05/0.575, allocations: 116.8 kB / 0.9471 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/0.575, allocations: 11.92 kB / 0.9471 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.5752, allocations: 8 kB / 0.9471 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.5752, allocations: 15.92 kB / 0.9471 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.5752, allocations: 8 kB / 0.9471 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001895/0.5754, allocations: 223 kB / 0.9473 GB, free: 8.836 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5754, allocations: 0 / 0.9473 GB, free: 8.836 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003482/0.5758, allocations: 75.91 kB / 0.9474 GB, free: 8.762 MB / 0.7169 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.0008684/0.5767, allocations: 0.9235 MB / 0.9483 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003851/0.5771, allocations: 159.8 kB / 0.9484 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5771, allocations: 0 / 0.9484 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.5772, allocations: 92.45 kB / 0.9485 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007408/0.578, allocations: 152.9 kB / 0.9487 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003167/0.5812, allocations: 2.793 MB / 0.9514 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.5815, allocations: 0.7795 MB / 0.9522 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000185/0.5817, allocations: 66.94 kB / 0.9522 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.5818, allocations: 91.41 kB / 0.9523 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.5818, allocations: 0 / 0.9523 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3355/0.9173, allocations: 8.246 MB / 0.9604 GB, free: 190.6 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.531/8.448, allocations: 8.047 kB / 0.9604 GB, free: 190.6 MB / 0.7169 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)