Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_8_Buildings_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.0007679/0.0007677, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008596/0.0008597, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.737/1.737, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008804/0.0008805, allocations: 14.34 kB / 0.6738 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3173, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.9085/1.226, allocations: 152.2 MB / 0.936 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0101/1.236, allocations: 6.069 MB / 0.942 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008294/1.237, allocations: 10.88 kB / 0.942 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007045/1.238, allocations: 113.3 kB / 0.9421 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002528/1.24, allocations: 0.5948 MB / 0.9427 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001444/1.242, allocations: 269.8 kB / 0.9429 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001701/1.243, allocations: 0.8536 MB / 0.9438 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007024/1.244, allocations: 209.3 kB / 0.944 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002095/1.246, allocations: 467 kB / 0.9444 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/1.247, allocations: 264.4 kB / 0.9447 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.492e-05/1.247, allocations: 13.31 kB / 0.9447 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009174/1.248, allocations: 204.8 kB / 0.9449 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002311/1.249, allocations: 96.58 kB / 0.945 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007187/1.249, allocations: 78.45 kB / 0.945 GB, free: 21.55 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008154/1.25, allocations: 315.6 kB / 0.9453 GB, free: 21.52 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.929e-06/1.25, allocations: 0 / 0.9453 GB, free: 21.52 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.136e-06/1.25, allocations: 2.719 kB / 0.9453 GB, free: 21.52 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.98e-05/1.25, allocations: 0 / 0.9453 GB, free: 21.52 MB / 0.7325 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.001523/1.252, allocations: 0.5709 MB / 0.9459 GB, free: 21.05 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.886e-05/1.252, allocations: 10.03 kB / 0.9459 GB, free: 21.05 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001434/1.252, allocations: 59.94 kB / 0.946 GB, free: 21.02 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004966/1.252, allocations: 61.3 kB / 0.946 GB, free: 21 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00066/1.253, allocations: 301.7 kB / 0.9463 GB, free: 20.77 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/1.253, allocations: 21.03 kB / 0.9463 GB, free: 20.77 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.315e-05/1.253, allocations: 24.94 kB / 0.9463 GB, free: 20.77 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007289/1.254, allocations: 323.2 kB / 0.9467 GB, free: 20.67 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/1.254, allocations: 0 / 0.9467 GB, free: 20.67 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/1.254, allocations: 17.02 kB / 0.9467 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/1.254, allocations: 6.469 kB / 0.9467 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005319/1.255, allocations: 209 kB / 0.9469 GB, free: 20.65 MB / 0.7325 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.00226/1.257, allocations: 1.538 MB / 0.9484 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003759/1.257, allocations: 126.8 kB / 0.9485 GB, free: 19.47 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/1.257, allocations: 99.66 kB / 0.9486 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006936/1.258, allocations: 314.8 kB / 0.9489 GB, free: 19.17 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/1.258, allocations: 35.92 kB / 0.9489 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 3.166e-06/1.258, allocations: 0 / 0.9489 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.001012/1.259, allocations: 282.4 kB / 0.9492 GB, free: 19.08 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/1.259, allocations: 55.66 kB / 0.9492 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005395/1.26, allocations: 313.7 kB / 0.9495 GB, free: 18.9 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/1.26, allocations: 30.58 kB / 0.9496 GB, free: 18.87 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/1.26, allocations: 181.1 kB / 0.9498 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.071e-05/1.26, allocations: 45.92 kB / 0.9498 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.027e-05/1.26, allocations: 4.531 kB / 0.9498 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001693/1.26, allocations: 338 kB / 0.9501 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/1.261, allocations: 70.09 kB / 0.9502 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/1.261, allocations: 115.6 kB / 0.9503 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/1.261, allocations: 75.05 kB / 0.9504 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/1.261, allocations: 3 kB / 0.9504 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005201/1.262, allocations: 233.2 kB / 0.9506 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/1.262, allocations: 6.094 kB / 0.9506 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/1.262, allocations: 1.094 kB / 0.9506 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/1.262, allocations: 3 kB / 0.9506 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/1.262, allocations: 41.14 kB / 0.9506 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/1.262, allocations: 3.125 kB / 0.9506 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002758/1.262, allocations: 41.92 kB / 0.9507 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/1.262, allocations: 6.094 kB / 0.9507 GB, free: 18.28 MB / 0.7325 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.0001998/1.262, allocations: 152.5 kB / 0.9508 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.472e-05/1.263, allocations: 32.33 kB / 0.9509 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005333/1.263, allocations: 213.9 kB / 0.9511 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/1.263, allocations: 5.594 kB / 0.9511 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/1.263, allocations: 0 / 0.9511 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/1.263, allocations: 4.422 kB / 0.9511 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/1.264, allocations: 0.696 MB / 0.9518 GB, free: 17.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/1.264, allocations: 6.25 kB / 0.9518 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/1.265, allocations: 32.36 kB / 0.9518 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.879e-06/1.265, allocations: 2.469 kB / 0.9518 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/1.265, allocations: 9.781 kB / 0.9518 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/1.265, allocations: 3.344 kB / 0.9518 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-06/1.265, allocations: 2.188 kB / 0.9518 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005813/1.265, allocations: 345.5 kB / 0.9521 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/1.265, allocations: 121.3 kB / 0.9523 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.681e-05/1.266, allocations: 3.188 kB / 0.9523 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/1.266, allocations: 21.38 kB / 0.9523 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.128e-05/1.266, allocations: 24.33 kB / 0.9523 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/1.266, allocations: 7.094 kB / 0.9523 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002992/1.266, allocations: 222 kB / 0.9525 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.5e-07/1.266, allocations: 0 / 0.9525 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005489/1.267, allocations: 69.56 kB / 0.9526 GB, free: 17.29 MB / 0.7325 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.0013/1.268, allocations: 0.9427 MB / 0.9535 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004483/1.268, allocations: 159.8 kB / 0.9537 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.269, allocations: 1.125 kB / 0.9537 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001883/1.269, allocations: 91.88 kB / 0.9538 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009677/1.27, allocations: 151.6 kB / 0.9539 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003545/1.273, allocations: 1.663 MB / 0.9555 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005061/1.274, allocations: 0.7785 MB / 0.9563 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003018/1.274, allocations: 58.33 kB / 0.9563 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/1.274, allocations: 94.14 kB / 0.9564 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of SimCode: time 7.52e-07/1.274, allocations: 3.016 kB / 0.9564 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02835/1.303, allocations: 7.519 MB / 0.9638 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002144/1.303, allocations: 229.3 kB / 0.964 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/3.229, allocations: 0 / 0.964 GB, free: 14.28 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) Environment - environmentSimulation: