Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001637/0.001637, allocations: 108.5 kB / 15.99 MB, free: 6.359 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.001958/0.001958, allocations: 189.2 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9069/0.9069, allocations: 135.1 MB / 425.9 MB, free: 4.312 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 59.91 kB / 0.5055 GB, free: 8.742 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.4276, allocations: 80.92 MB / 0.5845 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1859/0.6136, allocations: 165.3 MB / 0.7459 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3933/1.007, allocations: 6.475 MB / 0.7522 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006887/1.008, allocations: 14.91 kB / 0.7522 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006285/1.008, allocations: 141 kB / 0.7524 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002344/1.011, allocations: 0.7922 MB / 0.7532 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009139/1.012, allocations: 295.4 kB / 0.7534 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009528/1.013, allocations: 0.7233 MB / 0.7541 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004384/1.013, allocations: 260.8 kB / 0.7544 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/1.014, allocations: 0.5514 MB / 0.7549 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003517/1.015, allocations: 289.4 kB / 0.7552 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.914e-05/1.015, allocations: 22.94 kB / 0.7552 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006548/1.015, allocations: 347.7 kB / 0.7556 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/1.015, allocations: 109.5 kB / 0.7557 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001614/1.016, allocations: 164.7 kB / 0.7558 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004162/1.016, allocations: 341.1 kB / 0.7561 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.016, allocations: 4.844 kB / 0.7561 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/1.016, allocations: 1 kB / 0.7561 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.476e-06/1.016, allocations: 0 / 0.7561 GB, free: 1.758 MB / 0.5762 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.0009477/1.017, allocations: 0.6209 MB / 0.7568 GB, free: 17.29 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/1.017, allocations: 9.578 kB / 0.7568 GB, free: 17.29 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003029/1.017, allocations: 63.59 kB / 0.7568 GB, free: 17.27 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003614/1.018, allocations: 302.9 kB / 0.7571 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/1.018, allocations: 23.03 kB / 0.7571 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/1.018, allocations: 24.84 kB / 0.7572 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000497/1.018, allocations: 323.2 kB / 0.7575 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/1.018, allocations: 0 / 0.7575 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/1.018, allocations: 11.19 kB / 0.7575 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/1.018, allocations: 6.438 kB / 0.7575 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003584/1.019, allocations: 210.3 kB / 0.7577 GB, free: 16.95 MB / 0.5919 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.001451/1.02, allocations: 1.528 MB / 0.7592 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/1.02, allocations: 117.1 kB / 0.7593 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/1.021, allocations: 98.58 kB / 0.7594 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006709/1.021, allocations: 306.1 kB / 0.7597 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/1.021, allocations: 38.72 kB / 0.7597 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/1.021, allocations: 0 / 0.7597 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0008154/1.022, allocations: 269 kB / 0.76 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/1.022, allocations: 54.41 kB / 0.76 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003887/1.023, allocations: 309.9 kB / 0.7603 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/1.023, allocations: 30.48 kB / 0.7603 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/1.023, allocations: 186.8 kB / 0.7605 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.771e-05/1.023, allocations: 40.86 kB / 0.7606 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.473e-05/1.023, allocations: 38.64 kB / 0.7606 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001369/1.023, allocations: 341.1 kB / 0.7609 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/1.023, allocations: 62 kB / 0.761 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/1.023, allocations: 111.1 kB / 0.7611 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003501/1.024, allocations: 177 kB / 0.7613 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/1.024, allocations: 1.031 kB / 0.7613 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004515/1.024, allocations: 223.6 kB / 0.7615 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/1.024, allocations: 6.859 kB / 0.7615 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/1.024, allocations: 1.531 kB / 0.7615 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/1.024, allocations: 3.156 kB / 0.7615 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/1.025, allocations: 33.5 kB / 0.7615 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/1.025, allocations: 6.375 kB / 0.7615 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/1.025, allocations: 37.41 kB / 0.7616 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.364e-05/1.025, allocations: 13.95 kB / 0.7616 GB, free: 14.59 MB / 0.5919 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.0001583/1.025, allocations: 146.3 kB / 0.7617 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.891e-05/1.025, allocations: 32.77 kB / 0.7617 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004999/1.026, allocations: 203.7 kB / 0.7619 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/1.026, allocations: 2.156 kB / 0.7619 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.026, allocations: 4.906 kB / 0.7619 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/1.026, allocations: 0.5156 kB / 0.7619 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/1.027, allocations: 0.692 MB / 0.7626 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/1.027, allocations: 2.375 kB / 0.7626 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/1.027, allocations: 25.27 kB / 0.7626 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/1.027, allocations: 2.438 kB / 0.7626 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/1.027, allocations: 6.172 kB / 0.7627 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/1.027, allocations: 6.844 kB / 0.7627 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/1.027, allocations: 6.875 kB / 0.7627 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004527/1.027, allocations: 341.5 kB / 0.763 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/1.028, allocations: 116 kB / 0.7631 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/1.028, allocations: 7.719 kB / 0.7631 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/1.028, allocations: 13.7 kB / 0.7631 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/1.028, allocations: 22.38 kB / 0.7631 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/1.028, allocations: 4.938 kB / 0.7631 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002425/1.028, allocations: 223.9 kB / 0.7634 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/1.028, allocations: 1.203 kB / 0.7634 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004168/1.029, allocations: 74.23 kB / 0.7634 GB, free: 13.64 MB / 0.5919 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.0004014/1.029, allocations: 160.6 kB / 0.7636 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004349/1.029, allocations: 156.1 kB / 0.7637 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/1.029, allocations: 1.531 kB / 0.7637 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002043/1.03, allocations: 85.31 kB / 0.7638 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008928/1.031, allocations: 148.5 kB / 0.764 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/1.032, allocations: 0.6734 MB / 0.7646 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/1.032, allocations: 0.7776 MB / 0.7654 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.459e-05/1.032, allocations: 25 kB / 0.7654 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of SimCode: time 4.21e-07/1.032, allocations: 0 / 0.7654 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.008532/1.041, allocations: 4.557 MB / 0.7699 GB, free: 12.22 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)