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.0009272/0.0009274, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.007055/0.007055, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.515/1.515, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.893/1.893, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005579/0.0005579, allocations: 14.91 kB / 0.6743 GB, free: 25.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2957, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.8424/1.138, allocations: 163.1 MB / 0.9472 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007774/1.146, allocations: 6.463 MB / 0.9535 GB, free: 288 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005486/1.147, allocations: 10.06 kB / 0.9535 GB, free: 284 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005863/1.147, allocations: 130.4 kB / 0.9536 GB, free: 232 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00247/1.15, allocations: 0.7891 MB / 0.9544 GB, free: 68 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001089/1.151, allocations: 288.6 kB / 0.9547 GB, free: 56 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001502/1.152, allocations: 1.025 MB / 0.9557 GB, free: 0 / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004338/1.153, allocations: 233 kB / 0.9559 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001275/1.154, allocations: 0.4938 MB / 0.9564 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000409/1.154, allocations: 282.5 kB / 0.9567 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.785e-05/1.155, allocations: 12.97 kB / 0.9567 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007661/1.155, allocations: 394 kB / 0.957 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001235/1.155, allocations: 92.42 kB / 0.9571 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001921/1.156, allocations: 182.7 kB / 0.9573 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005931/1.156, allocations: 468.9 kB / 0.9578 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/1.156, allocations: 0 / 0.9578 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.047e-06/1.156, allocations: 7.453 kB / 0.9578 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.154e-06/1.156, allocations: 0 / 0.9578 GB, free: 15.77 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.0008282/1.157, allocations: 0.565 MB / 0.9583 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/1.157, allocations: 8.938 kB / 0.9583 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003276/1.157, allocations: 63.36 kB / 0.9584 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/1.158, allocations: 308.7 kB / 0.9587 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/1.158, allocations: 19.41 kB / 0.9587 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.371e-05/1.158, allocations: 27.62 kB / 0.9587 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005464/1.159, allocations: 324.2 kB / 0.959 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/1.159, allocations: 1.062 kB / 0.959 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/1.159, allocations: 9.625 kB / 0.959 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/1.159, allocations: 14.55 kB / 0.9591 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004328/1.159, allocations: 211.4 kB / 0.9593 GB, free: 14.93 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.001474/1.16, allocations: 1.539 MB / 0.9608 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/1.161, allocations: 123.2 kB / 0.9609 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/1.161, allocations: 103.9 kB / 0.961 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006202/1.162, allocations: 320.1 kB / 0.9613 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/1.162, allocations: 35.75 kB / 0.9613 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/1.162, allocations: 1.156 kB / 0.9613 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0007712/1.162, allocations: 288.7 kB / 0.9616 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/1.162, allocations: 56.17 kB / 0.9616 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/1.163, allocations: 312 kB / 0.9619 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/1.163, allocations: 30.27 kB / 0.962 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/1.163, allocations: 181 kB / 0.9621 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/1.163, allocations: 44.67 kB / 0.9622 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/1.163, allocations: 19.83 kB / 0.9622 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.163, allocations: 334.9 kB / 0.9625 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/1.163, allocations: 73.8 kB / 0.9626 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/1.164, allocations: 113 kB / 0.9627 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/1.164, allocations: 189.9 kB / 0.9629 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.164, allocations: 3.938 kB / 0.9629 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004325/1.164, allocations: 232.7 kB / 0.9631 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/1.164, allocations: 7.594 kB / 0.9631 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/1.164, allocations: 2.406 kB / 0.9631 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/1.164, allocations: 1.031 kB / 0.9631 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/1.165, allocations: 40.95 kB / 0.9632 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/1.165, allocations: 2.25 kB / 0.9632 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/1.165, allocations: 37.2 kB / 0.9632 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.028e-05/1.165, allocations: 14.31 kB / 0.9632 GB, free: 12.48 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.0001468/1.165, allocations: 152 kB / 0.9634 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.304e-05/1.165, allocations: 29.03 kB / 0.9634 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004756/1.166, allocations: 220.6 kB / 0.9636 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/1.166, allocations: 2.094 kB / 0.9636 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.166, allocations: 3.938 kB / 0.9636 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/1.166, allocations: 3.75 kB / 0.9636 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/1.167, allocations: 0.6892 MB / 0.9643 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/1.167, allocations: 1.25 kB / 0.9643 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/1.167, allocations: 40.69 kB / 0.9643 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/1.167, allocations: 3.625 kB / 0.9643 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/1.167, allocations: 2.625 kB / 0.9643 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/1.167, allocations: 6.688 kB / 0.9643 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/1.167, allocations: 1.906 kB / 0.9643 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004438/1.167, allocations: 347.6 kB / 0.9647 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/1.167, allocations: 121.6 kB / 0.9648 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/1.167, allocations: 3.125 kB / 0.9648 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/1.168, allocations: 24.8 kB / 0.9648 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/1.168, allocations: 12.16 kB / 0.9648 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/1.168, allocations: 9.625 kB / 0.9648 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002147/1.168, allocations: 225.5 kB / 0.965 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.352e-06/1.168, allocations: 0 / 0.965 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004/1.168, allocations: 79.67 kB / 0.9651 GB, free: 11.49 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.0003852/1.169, allocations: 146.3 kB / 0.9653 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004067/1.169, allocations: 169.1 kB / 0.9654 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.169, allocations: 4.062 kB / 0.9654 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/1.169, allocations: 87.84 kB / 0.9655 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009223/1.17, allocations: 157.4 kB / 0.9657 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009054/1.171, allocations: 0.6492 MB / 0.9663 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/1.172, allocations: 0.7822 MB / 0.9671 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001933/1.172, allocations: 66.64 kB / 0.9671 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.143e-05/1.172, allocations: 22.41 kB / 0.9671 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of SimCode: time 3.21e-07/1.172, allocations: 0 / 0.9671 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of Templates: time 0.01072/1.183, allocations: 4.861 MB / 0.9719 GB, free: 8.664 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: