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: translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008947/0.0008947, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001099/0.001099, allocations: 168.7 kB / 15.95 MB, free: 204 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.352/1.352, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.634/1.634, 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.000462/0.000462, allocations: 22.22 kB / 0.6737 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2316, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.6865/0.9183, allocations: 152.2 MB / 0.9359 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00642/0.9247, allocations: 6.067 MB / 0.9418 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004781/0.9252, allocations: 9.031 kB / 0.9418 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005217/0.9258, allocations: 119.3 kB / 0.942 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001715/0.9275, allocations: 0.5905 MB / 0.9425 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008881/0.9284, allocations: 272.3 kB / 0.9428 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00109/0.9295, allocations: 0.8602 MB / 0.9436 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004123/0.9299, allocations: 201.4 kB / 0.9438 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001263/0.9312, allocations: 466.2 kB / 0.9443 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004045/0.9316, allocations: 267.9 kB / 0.9445 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.775e-05/0.9317, allocations: 17.66 kB / 0.9445 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000606/0.9323, allocations: 194.8 kB / 0.9447 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.9324, allocations: 98.89 kB / 0.9448 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003585/0.9328, allocations: 91.33 kB / 0.9449 GB, free: 21.32 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004113/0.9332, allocations: 311.8 kB / 0.9452 GB, free: 21.29 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.9332, allocations: 1.25 kB / 0.9452 GB, free: 21.29 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9332, allocations: 0 / 0.9452 GB, free: 21.29 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.9332, allocations: 0 / 0.9452 GB, free: 21.29 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.0007946/0.934, allocations: 0.5691 MB / 0.9458 GB, free: 20.83 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.9341, allocations: 8.156 kB / 0.9458 GB, free: 20.83 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003228/0.9344, allocations: 63.22 kB / 0.9458 GB, free: 20.81 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000394/0.9348, allocations: 292.2 kB / 0.9461 GB, free: 20.59 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.9348, allocations: 21.06 kB / 0.9461 GB, free: 20.59 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.395e-05/0.9349, allocations: 23.59 kB / 0.9462 GB, free: 20.59 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005887/0.9355, allocations: 327 kB / 0.9465 GB, free: 20.49 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.9355, allocations: 0 / 0.9465 GB, free: 20.49 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.966e-05/0.9355, allocations: 12.33 kB / 0.9465 GB, free: 20.48 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.9356, allocations: 6.375 kB / 0.9465 GB, free: 20.48 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004731/0.936, allocations: 217.5 kB / 0.9467 GB, free: 20.47 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.00172/0.9378, allocations: 1.537 MB / 0.9482 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.9381, allocations: 133.3 kB / 0.9483 GB, free: 19.28 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.9383, allocations: 93.73 kB / 0.9484 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006529/0.939, allocations: 313.4 kB / 0.9487 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.939, allocations: 34.97 kB / 0.9487 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.572e-06/0.939, allocations: 0 / 0.9487 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0008449/0.9399, allocations: 286.5 kB / 0.949 GB, free: 18.9 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.9399, allocations: 57.47 kB / 0.9491 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003987/0.9404, allocations: 310.8 kB / 0.9494 GB, free: 18.72 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.9404, allocations: 29.7 kB / 0.9494 GB, free: 18.69 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.9405, allocations: 183.6 kB / 0.9496 GB, free: 18.58 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.9406, allocations: 43.94 kB / 0.9496 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.694e-06/0.9406, allocations: 2.438 kB / 0.9496 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.9407, allocations: 339.5 kB / 0.9499 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.9408, allocations: 65.88 kB / 0.95 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.941, allocations: 120.6 kB / 0.9501 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.9412, allocations: 81.56 kB / 0.9502 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.9412, allocations: 1.094 kB / 0.9502 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000398/0.9416, allocations: 231 kB / 0.9504 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.9416, allocations: 5.938 kB / 0.9504 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.9416, allocations: 1.25 kB / 0.9504 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.9417, allocations: 2.156 kB / 0.9504 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.9418, allocations: 35.38 kB / 0.9505 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.9418, allocations: 5.688 kB / 0.9505 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.942, allocations: 45.56 kB / 0.9505 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.9421, allocations: 14.44 kB / 0.9505 GB, free: 18.09 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.0001508/0.9422, allocations: 143.5 kB / 0.9507 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.761e-05/0.9423, allocations: 31.58 kB / 0.9507 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004359/0.9427, allocations: 224.5 kB / 0.9509 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.9427, allocations: 2.75 kB / 0.9509 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.9428, allocations: 1.062 kB / 0.9509 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.9428, allocations: 2.391 kB / 0.9509 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009076/0.9437, allocations: 0.6956 MB / 0.9516 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.9437, allocations: 2 kB / 0.9516 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.9438, allocations: 33.75 kB / 0.9516 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.9438, allocations: 3.594 kB / 0.9516 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.9439, allocations: 5.406 kB / 0.9516 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.9439, allocations: 3.188 kB / 0.9516 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.9439, allocations: 2.406 kB / 0.9516 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003837/0.9443, allocations: 355 kB / 0.952 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-05/0.9444, allocations: 119.9 kB / 0.9521 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/0.9444, allocations: 6.188 kB / 0.9521 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.9446, allocations: 14.95 kB / 0.9521 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.72e-05/0.9446, allocations: 21.09 kB / 0.9521 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.9447, allocations: 7.594 kB / 0.9521 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001906/0.9449, allocations: 218.5 kB / 0.9523 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9449, allocations: 1.062 kB / 0.9523 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000379/0.9452, allocations: 72.16 kB / 0.9524 GB, free: 17.11 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.0003581/0.9456, allocations: 161.7 kB / 0.9526 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003893/0.946, allocations: 167.8 kB / 0.9527 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.946, allocations: 3 kB / 0.9527 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.9462, allocations: 81.77 kB / 0.9528 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007562/0.947, allocations: 149.2 kB / 0.9529 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007999/0.9478, allocations: 0.6285 MB / 0.9536 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.9481, allocations: 0.7837 MB / 0.9543 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001948/0.9483, allocations: 62 kB / 0.9544 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.665e-05/0.9484, allocations: 22.97 kB / 0.9544 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.9484, allocations: 1.859 kB / 0.9544 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of Templates: time 0.00912/0.9575, allocations: 4.701 MB / 0.959 GB, free: 15.55 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) Environment - environmentSimulation: