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.001077/0.001077, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 194.1 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.368/1.368, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.715/1.715, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001513/0.001513, allocations: 70.81 kB / 0.6716 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2018, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5898/0.7917, allocations: 167.5 MB / 0.9471 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008249/0.7999, allocations: 6.53 MB / 0.9535 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006474/0.8006, allocations: 19.91 kB / 0.9535 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006544/0.8013, allocations: 167.3 kB / 0.9536 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002569/0.8039, allocations: 0.8428 MB / 0.9545 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.805, allocations: 327.2 kB / 0.9548 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001098/0.8061, allocations: 0.7209 MB / 0.9555 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005955/0.8067, allocations: 266.7 kB / 0.9557 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001384/0.8081, allocations: 0.5497 MB / 0.9563 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005783/0.8087, allocations: 264.7 kB / 0.9565 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.571e-05/0.8088, allocations: 22.44 kB / 0.9565 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008036/0.8096, allocations: 345.9 kB / 0.9569 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001703/0.8098, allocations: 105.4 kB / 0.957 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002961/0.8101, allocations: 162.4 kB / 0.9571 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008836/0.811, allocations: 473.9 kB / 0.9576 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.811, allocations: 0 / 0.9576 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.523e-06/0.811, allocations: 1.094 kB / 0.9576 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.621e-05/0.811, allocations: 0 / 0.9576 GB, free: 0.5234 MB / 0.7169 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.001085/0.8121, allocations: 0.6201 MB / 0.9582 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.8122, allocations: 13.41 kB / 0.9582 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.746e-05/0.8123, allocations: 59.98 kB / 0.9583 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003635/0.8126, allocations: 60.56 kB / 0.9583 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005083/0.8132, allocations: 312.7 kB / 0.9586 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.8132, allocations: 17.66 kB / 0.9586 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.875e-05/0.8133, allocations: 28.11 kB / 0.9587 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005226/0.8138, allocations: 321.1 kB / 0.959 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.8138, allocations: 1.125 kB / 0.959 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.8139, allocations: 10.47 kB / 0.959 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.8139, allocations: 5.906 kB / 0.959 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004033/0.8143, allocations: 207.9 kB / 0.9592 GB, free: 15.64 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.001538/0.8158, allocations: 1.546 MB / 0.9607 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.8161, allocations: 121.4 kB / 0.9608 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.8163, allocations: 93.58 kB / 0.9609 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006773/0.817, allocations: 306.3 kB / 0.9612 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.817, allocations: 34.52 kB / 0.9612 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.817, allocations: 0 / 0.9612 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.000749/0.8178, allocations: 269.8 kB / 0.9615 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.8178, allocations: 53.91 kB / 0.9615 GB, free: 14 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003041/0.8181, allocations: 306.8 kB / 0.9618 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.8182, allocations: 30.7 kB / 0.9618 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.8183, allocations: 184.6 kB / 0.962 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.8184, allocations: 44.27 kB / 0.9621 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.757e-05/0.8184, allocations: 35.94 kB / 0.9621 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.8186, allocations: 337.1 kB / 0.9624 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.8187, allocations: 65.39 kB / 0.9625 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.8189, allocations: 112.3 kB / 0.9626 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003171/0.8193, allocations: 174.6 kB / 0.9628 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.8193, allocations: 7.797 kB / 0.9628 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000432/0.8197, allocations: 220.7 kB / 0.963 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.8197, allocations: 5.094 kB / 0.963 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.8197, allocations: 1.406 kB / 0.963 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.8198, allocations: 3.281 kB / 0.963 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.8199, allocations: 33.89 kB / 0.963 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.82, allocations: 3.562 kB / 0.963 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.8201, allocations: 32.84 kB / 0.963 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.82e-05/0.8202, allocations: 6.062 kB / 0.9631 GB, free: 13.2 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001492/0.8203, allocations: 163.3 kB / 0.9632 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.29e-05/0.8204, allocations: 24.09 kB / 0.9632 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004475/0.8209, allocations: 210.3 kB / 0.9634 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.8209, allocations: 1.281 kB / 0.9634 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/0.8209, allocations: 0 / 0.9634 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.8209, allocations: 1.375 kB / 0.9634 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009801/0.8219, allocations: 0.6896 MB / 0.9641 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.8219, allocations: 2.188 kB / 0.9641 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.822, allocations: 33.64 kB / 0.9641 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.822, allocations: 3.688 kB / 0.9641 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.8221, allocations: 6.438 kB / 0.9642 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/0.8221, allocations: 9.734 kB / 0.9642 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.8221, allocations: 3.562 kB / 0.9642 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004539/0.8225, allocations: 327.7 kB / 0.9645 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.8227, allocations: 125.5 kB / 0.9646 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.315e-05/0.8227, allocations: 2.344 kB / 0.9646 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.8229, allocations: 19.09 kB / 0.9646 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.384e-05/0.8229, allocations: 20.31 kB / 0.9646 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.823, allocations: 4.312 kB / 0.9646 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000209/0.8232, allocations: 221.5 kB / 0.9649 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8232, allocations: 0 / 0.9649 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004129/0.8236, allocations: 77.28 kB / 0.9649 GB, free: 12.21 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 (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.001177/0.8248, allocations: 0.9197 MB / 0.9658 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004156/0.8252, allocations: 169.5 kB / 0.966 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.8252, allocations: 0 / 0.966 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.8254, allocations: 83.08 kB / 0.9661 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008572/0.8263, allocations: 158.6 kB / 0.9662 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004064/0.8304, allocations: 2.819 MB / 0.969 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.8308, allocations: 0.7863 MB / 0.9697 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002434/0.831, allocations: 61.8 kB / 0.9698 GB, free: 9.078 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.8312, allocations: 90.64 kB / 0.9699 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of SimCode: time 2.81e-07/0.8312, allocations: 0 / 0.9699 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02603/0.8572, allocations: 8.02 MB / 0.9777 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.987/10.84, allocations: 14.47 kB / 0.9777 GB, free: 6.562 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/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)