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.001443/0.001443, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001675/0.001675, allocations: 193.6 kB / 16.14 MB, free: 6.703 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.656/1.656, allocations: 205.1 MB / 222 MB, free: 4.793 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.777/1.777, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.001409/0.001409, allocations: 66.48 kB / 0.6708 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3065, allocations: 114.5 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.8135/1.12, allocations: 165.3 MB / 0.9441 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007727/1.128, allocations: 6.542 MB / 0.9505 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008271/1.129, allocations: 12.03 kB / 0.9505 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007537/1.13, allocations: 129.1 kB / 0.9506 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003288/1.133, allocations: 0.793 MB / 0.9514 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001218/1.134, allocations: 292.8 kB / 0.9517 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001448/1.136, allocations: 1.018 MB / 0.9527 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004959/1.136, allocations: 230.4 kB / 0.9529 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00167/1.138, allocations: 0.5033 MB / 0.9534 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007323/1.138, allocations: 281.6 kB / 0.9536 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.987e-05/1.139, allocations: 16.38 kB / 0.9537 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/1.14, allocations: 395.1 kB / 0.954 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002393/1.14, allocations: 98.75 kB / 0.9541 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003383/1.141, allocations: 163.2 kB / 0.9543 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00112/1.142, allocations: 481.6 kB / 0.9547 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/1.142, allocations: 0 / 0.9547 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.284e-06/1.142, allocations: 0.5 kB / 0.9548 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.747e-06/1.142, allocations: 0 / 0.9548 GB, free: 5.418 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.001603/1.143, allocations: 0.6225 MB / 0.9554 GB, free: 20.95 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/1.144, allocations: 9 kB / 0.9554 GB, free: 20.95 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004082/1.144, allocations: 55.7 kB / 0.9554 GB, free: 20.94 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00046/1.144, allocations: 310.6 kB / 0.9557 GB, free: 20.71 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/1.144, allocations: 22.03 kB / 0.9557 GB, free: 20.7 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.563e-05/1.145, allocations: 27.5 kB / 0.9558 GB, free: 20.7 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006633/1.145, allocations: 317.1 kB / 0.9561 GB, free: 20.61 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/1.145, allocations: 2.906 kB / 0.9561 GB, free: 20.61 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/1.145, allocations: 13.97 kB / 0.9561 GB, free: 20.61 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/1.145, allocations: 6.156 kB / 0.9561 GB, free: 20.61 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004696/1.146, allocations: 201.2 kB / 0.9563 GB, free: 20.61 MB / 0.7481 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.001742/1.147, allocations: 1.539 MB / 0.9578 GB, free: 19.46 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/1.148, allocations: 123.7 kB / 0.9579 GB, free: 19.44 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/1.148, allocations: 94.27 kB / 0.958 GB, free: 19.43 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008636/1.149, allocations: 307.2 kB / 0.9583 GB, free: 19.14 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/1.149, allocations: 32.06 kB / 0.9583 GB, free: 19.1 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 2.074e-06/1.149, allocations: 4 kB / 0.9583 GB, free: 19.1 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.001048/1.15, allocations: 275.4 kB / 0.9586 GB, free: 19.05 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/1.15, allocations: 52.94 kB / 0.9586 GB, free: 18.98 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004977/1.151, allocations: 307.8 kB / 0.9589 GB, free: 18.87 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/1.151, allocations: 26.86 kB / 0.959 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/1.151, allocations: 187.4 kB / 0.9591 GB, free: 18.73 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.117e-05/1.151, allocations: 43.34 kB / 0.9592 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.528e-05/1.151, allocations: 38.78 kB / 0.9592 GB, free: 18.68 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001592/1.151, allocations: 337.4 kB / 0.9595 GB, free: 18.37 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/1.151, allocations: 59.86 kB / 0.9596 GB, free: 18.37 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/1.152, allocations: 114.8 kB / 0.9597 GB, free: 18.32 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003994/1.152, allocations: 177.5 kB / 0.9599 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/1.152, allocations: 0.5625 kB / 0.9599 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005281/1.153, allocations: 219 kB / 0.9601 GB, free: 18.22 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/1.153, allocations: 5.594 kB / 0.9601 GB, free: 18.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/1.153, allocations: 1.656 kB / 0.9601 GB, free: 18.22 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/1.153, allocations: 2.188 kB / 0.9601 GB, free: 18.22 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/1.153, allocations: 43.98 kB / 0.9601 GB, free: 18.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/1.153, allocations: 5.75 kB / 0.9601 GB, free: 18.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/1.153, allocations: 34.22 kB / 0.9602 GB, free: 18.2 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.028e-05/1.153, allocations: 9.312 kB / 0.9602 GB, free: 18.2 MB / 0.7481 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.0001557/1.153, allocations: 156.4 kB / 0.9603 GB, free: 18.08 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.144e-05/1.153, allocations: 24.84 kB / 0.9603 GB, free: 18.07 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004707/1.154, allocations: 209.3 kB / 0.9605 GB, free: 18.03 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/1.154, allocations: 1 kB / 0.9605 GB, free: 18.03 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/1.154, allocations: 3.906 kB / 0.9605 GB, free: 18.03 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/1.154, allocations: 0 / 0.9605 GB, free: 18.03 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/1.155, allocations: 0.6839 MB / 0.9612 GB, free: 17.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/1.155, allocations: 3 kB / 0.9612 GB, free: 17.66 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/1.155, allocations: 33.58 kB / 0.9613 GB, free: 17.66 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/1.155, allocations: 2.906 kB / 0.9613 GB, free: 17.66 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/1.155, allocations: 3.281 kB / 0.9613 GB, free: 17.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/1.155, allocations: 11.75 kB / 0.9613 GB, free: 17.65 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/1.155, allocations: 2.281 kB / 0.9613 GB, free: 17.65 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004403/1.156, allocations: 331.9 kB / 0.9616 GB, free: 17.45 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/1.156, allocations: 120.3 kB / 0.9617 GB, free: 17.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/1.156, allocations: 9.781 kB / 0.9617 GB, free: 17.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/1.156, allocations: 20.28 kB / 0.9617 GB, free: 17.34 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.881e-05/1.156, allocations: 15.92 kB / 0.9617 GB, free: 17.33 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/1.156, allocations: 9.281 kB / 0.9618 GB, free: 17.33 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002384/1.156, allocations: 225.2 kB / 0.962 GB, free: 17.25 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/1.156, allocations: 0 / 0.962 GB, free: 17.25 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004378/1.157, allocations: 77.53 kB / 0.962 GB, free: 17.24 MB / 0.7481 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.0004266/1.157, allocations: 149.4 kB / 0.9622 GB, free: 17.14 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000411/1.158, allocations: 149.6 kB / 0.9623 GB, free: 17.14 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.158, allocations: 6.422 kB / 0.9623 GB, free: 17.14 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001806/1.158, allocations: 86.47 kB / 0.9624 GB, free: 17.14 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000864/1.159, allocations: 149.5 kB / 0.9626 GB, free: 17.12 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009495/1.16, allocations: 0.6342 MB / 0.9632 GB, free: 16.71 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/1.16, allocations: 0.7854 MB / 0.9639 GB, free: 16 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002345/1.16, allocations: 64.53 kB / 0.964 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.436e-05/1.16, allocations: 22.53 kB / 0.964 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of SimCode: time 3.11e-07/1.16, allocations: 0 / 0.964 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of Templates: time 0.01144/1.172, allocations: 4.884 MB / 0.9688 GB, free: 15.68 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (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)