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.001216/0.001216, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001514/0.001514, allocations: 197.9 kB / 16.25 MB, free: 6.621 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.58/1.58, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.745/1.745, allocations: 292.3 MB / 0.5485 GB, free: 13.66 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.001443/0.001443, allocations: 65.22 kB / 0.671 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3332, allocations: 114.6 MB / 0.7829 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.8923/1.226, allocations: 165.3 MB / 0.9442 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00868/1.234, allocations: 6.484 MB / 0.9506 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009159/1.235, allocations: 13.09 kB / 0.9506 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000733/1.236, allocations: 138.6 kB / 0.9507 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00373/1.24, allocations: 0.794 MB / 0.9515 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001459/1.241, allocations: 286.9 kB / 0.9518 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001403/1.243, allocations: 0.7255 MB / 0.9525 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000615/1.243, allocations: 262.3 kB / 0.9527 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001947/1.245, allocations: 0.5525 MB / 0.9533 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007203/1.246, allocations: 287.1 kB / 0.9535 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.357e-05/1.246, allocations: 22.59 kB / 0.9536 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/1.247, allocations: 348.8 kB / 0.9539 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002537/1.248, allocations: 112.1 kB / 0.954 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003283/1.248, allocations: 163.7 kB / 0.9542 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001138/1.249, allocations: 497.6 kB / 0.9546 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/1.249, allocations: 4 kB / 0.9546 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.246e-06/1.249, allocations: 0 / 0.9546 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.502e-05/1.249, allocations: 2.359 kB / 0.9546 GB, free: 5.715 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.001539/1.251, allocations: 0.6111 MB / 0.9552 GB, free: 21.25 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/1.251, allocations: 9.281 kB / 0.9552 GB, free: 21.25 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000406/1.251, allocations: 58.56 kB / 0.9553 GB, free: 21.23 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004927/1.252, allocations: 319.1 kB / 0.9556 GB, free: 21 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.869e-05/1.252, allocations: 21.84 kB / 0.9556 GB, free: 21 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.196e-05/1.252, allocations: 24.38 kB / 0.9557 GB, free: 21 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006717/1.253, allocations: 317 kB / 0.956 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/1.253, allocations: 0 / 0.956 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.001e-05/1.253, allocations: 13.75 kB / 0.956 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/1.253, allocations: 10.19 kB / 0.956 GB, free: 20.9 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004599/1.253, allocations: 197.8 kB / 0.9562 GB, free: 20.9 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.001771/1.255, allocations: 1.544 MB / 0.9577 GB, free: 19.76 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/1.255, allocations: 117.5 kB / 0.9578 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/1.255, allocations: 95.58 kB / 0.9579 GB, free: 19.72 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007378/1.256, allocations: 300.3 kB / 0.9582 GB, free: 19.44 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/1.256, allocations: 31.81 kB / 0.9582 GB, free: 19.4 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 2.014e-06/1.256, allocations: 8 kB / 0.9582 GB, free: 19.39 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.0008716/1.257, allocations: 268.5 kB / 0.9585 GB, free: 19.35 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/1.257, allocations: 55.28 kB / 0.9585 GB, free: 19.29 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004655/1.258, allocations: 308.7 kB / 0.9588 GB, free: 19.17 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/1.258, allocations: 26.8 kB / 0.9588 GB, free: 19.14 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/1.258, allocations: 181.6 kB / 0.959 GB, free: 19.03 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.412e-05/1.258, allocations: 49.28 kB / 0.9591 GB, free: 19 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.507e-05/1.258, allocations: 40.03 kB / 0.9591 GB, free: 18.98 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000189/1.258, allocations: 335 kB / 0.9594 GB, free: 18.67 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/1.258, allocations: 61.27 kB / 0.9595 GB, free: 18.67 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/1.259, allocations: 115 kB / 0.9596 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003948/1.259, allocations: 176.9 kB / 0.9597 GB, free: 18.57 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.259, allocations: 4.594 kB / 0.9598 GB, free: 18.57 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005656/1.26, allocations: 215.7 kB / 0.96 GB, free: 18.52 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/1.26, allocations: 7.172 kB / 0.96 GB, free: 18.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/1.26, allocations: 5.5 kB / 0.96 GB, free: 18.52 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/1.26, allocations: 2.156 kB / 0.96 GB, free: 18.52 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/1.26, allocations: 39.67 kB / 0.96 GB, free: 18.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/1.26, allocations: 6.531 kB / 0.96 GB, free: 18.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/1.26, allocations: 37.98 kB / 0.9601 GB, free: 18.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.999e-05/1.26, allocations: 9.438 kB / 0.9601 GB, free: 18.5 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.0001926/1.26, allocations: 150.6 kB / 0.9602 GB, free: 18.38 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.557e-05/1.26, allocations: 27.34 kB / 0.9602 GB, free: 18.37 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000566/1.261, allocations: 216.8 kB / 0.9604 GB, free: 18.32 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/1.261, allocations: 1.656 kB / 0.9604 GB, free: 18.32 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/1.261, allocations: 1.734 kB / 0.9604 GB, free: 18.32 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/1.261, allocations: 0.6562 kB / 0.9604 GB, free: 18.32 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/1.262, allocations: 0.6852 MB / 0.9611 GB, free: 17.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.262, allocations: 1.25 kB / 0.9611 GB, free: 17.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/1.262, allocations: 31.8 kB / 0.9611 GB, free: 17.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/1.263, allocations: 1.719 kB / 0.9611 GB, free: 17.96 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/1.263, allocations: 5.688 kB / 0.9611 GB, free: 17.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.625e-06/1.263, allocations: 13.31 kB / 0.9612 GB, free: 17.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/1.263, allocations: 2.5 kB / 0.9612 GB, free: 17.95 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004473/1.263, allocations: 326.2 kB / 0.9615 GB, free: 17.75 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/1.263, allocations: 121.6 kB / 0.9616 GB, free: 17.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.41e-05/1.263, allocations: 7.5 kB / 0.9616 GB, free: 17.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/1.263, allocations: 21.69 kB / 0.9616 GB, free: 17.63 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.984e-05/1.263, allocations: 19.08 kB / 0.9616 GB, free: 17.63 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/1.263, allocations: 6.094 kB / 0.9616 GB, free: 17.63 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002559/1.264, allocations: 222.2 kB / 0.9619 GB, free: 17.55 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/1.264, allocations: 0.9375 kB / 0.9619 GB, free: 17.55 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004726/1.264, allocations: 73.34 kB / 0.9619 GB, free: 17.54 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.00048/1.265, allocations: 160.6 kB / 0.9621 GB, free: 17.43 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004503/1.265, allocations: 161.1 kB / 0.9622 GB, free: 17.43 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.265, allocations: 4.312 kB / 0.9622 GB, free: 17.42 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001897/1.265, allocations: 83.69 kB / 0.9623 GB, free: 17.42 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000845/1.266, allocations: 154.1 kB / 0.9625 GB, free: 17.41 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/1.267, allocations: 0.6334 MB / 0.9631 GB, free: 16.99 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/1.268, allocations: 0.7828 MB / 0.9638 GB, free: 16.29 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002292/1.268, allocations: 61.53 kB / 0.9639 GB, free: 16.28 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.352e-05/1.268, allocations: 34.12 kB / 0.9639 GB, free: 16.27 MB / 0.7481 GB Notification: Performance of SimCode: time 4.11e-07/1.268, allocations: 0 / 0.9639 GB, free: 16.27 MB / 0.7481 GB Notification: Performance of Templates: time 0.01317/1.281, allocations: 5.044 MB / 0.9689 GB, free: 15.96 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)