Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001354/0.001354, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001305/0.001305, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.398/1.398, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8748/0.8748, allocations: 132.2 MB / 423.2 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002199/0.0022, allocations: 63.91 kB / 0.5024 GB, free: 11.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4544/0.4566, allocations: 80.18 MB / 0.5807 GB, free: 27.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.177/0.6337, allocations: 167.5 MB / 0.7443 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3761/1.01, allocations: 6.538 MB / 0.7507 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006087/1.011, allocations: 15.53 kB / 0.7507 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006256/1.011, allocations: 169.3 kB / 0.7509 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002477/1.014, allocations: 0.8365 MB / 0.7517 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009826/1.015, allocations: 331.1 kB / 0.752 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001048/1.016, allocations: 0.7197 MB / 0.7527 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004153/1.016, allocations: 279.4 kB / 0.753 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/1.017, allocations: 0.5475 MB / 0.7535 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003579/1.018, allocations: 272.8 kB / 0.7538 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.508e-05/1.018, allocations: 23.56 kB / 0.7538 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007168/1.019, allocations: 339.3 kB / 0.7541 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001446/1.019, allocations: 108.1 kB / 0.7542 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001973/1.019, allocations: 160.7 kB / 0.7544 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006089/1.02, allocations: 468.9 kB / 0.7548 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/1.02, allocations: 1.031 kB / 0.7548 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.834e-06/1.02, allocations: 1.875 kB / 0.7548 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.033e-06/1.02, allocations: 0 / 0.7548 GB, free: 1.734 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.000996/1.021, allocations: 0.6229 MB / 0.7555 GB, free: 17.27 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/1.021, allocations: 11.09 kB / 0.7555 GB, free: 17.27 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003356/1.021, allocations: 62.89 kB / 0.7555 GB, free: 17.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003986/1.021, allocations: 301.9 kB / 0.7558 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/1.021, allocations: 21.41 kB / 0.7558 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/1.021, allocations: 27.62 kB / 0.7559 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005548/1.022, allocations: 316.5 kB / 0.7562 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/1.022, allocations: 1.094 kB / 0.7562 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/1.022, allocations: 10.97 kB / 0.7562 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/1.022, allocations: 8.438 kB / 0.7562 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004345/1.023, allocations: 202.9 kB / 0.7564 GB, free: 16.93 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.001593/1.024, allocations: 1.545 MB / 0.7579 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/1.024, allocations: 120.7 kB / 0.758 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/1.025, allocations: 94.67 kB / 0.7581 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006817/1.025, allocations: 304.6 kB / 0.7584 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/1.025, allocations: 33.06 kB / 0.7584 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/1.025, allocations: 0 / 0.7584 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0007982/1.026, allocations: 275.4 kB / 0.7587 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/1.026, allocations: 56.03 kB / 0.7587 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003723/1.027, allocations: 313.2 kB / 0.759 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/1.027, allocations: 28.11 kB / 0.759 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/1.027, allocations: 183.9 kB / 0.7592 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.895e-05/1.027, allocations: 47.7 kB / 0.7593 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.492e-05/1.027, allocations: 34.88 kB / 0.7593 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000147/1.027, allocations: 338.9 kB / 0.7596 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/1.027, allocations: 64.36 kB / 0.7597 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/1.027, allocations: 114 kB / 0.7598 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003559/1.028, allocations: 175.8 kB / 0.76 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.028, allocations: 0.9688 kB / 0.76 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004505/1.028, allocations: 215.8 kB / 0.7602 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/1.028, allocations: 6.844 kB / 0.7602 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/1.028, allocations: 1.031 kB / 0.7602 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/1.028, allocations: 2.938 kB / 0.7602 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/1.029, allocations: 41.67 kB / 0.7602 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/1.029, allocations: 2.328 kB / 0.7602 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/1.029, allocations: 29.98 kB / 0.7603 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/1.029, allocations: 10.88 kB / 0.7603 GB, free: 14.57 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.0001523/1.029, allocations: 147.3 kB / 0.7604 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.899e-05/1.029, allocations: 30.52 kB / 0.7604 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005314/1.03, allocations: 218.9 kB / 0.7606 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/1.03, allocations: 3.266 kB / 0.7606 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.03, allocations: 0 / 0.7606 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/1.03, allocations: 2.078 kB / 0.7606 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/1.031, allocations: 0.6789 MB / 0.7613 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/1.031, allocations: 3.734 kB / 0.7613 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/1.031, allocations: 33.03 kB / 0.7613 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/1.031, allocations: 3.531 kB / 0.7613 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/1.031, allocations: 3.344 kB / 0.7613 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/1.031, allocations: 6.219 kB / 0.7614 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/1.031, allocations: 6.094 kB / 0.7614 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000526/1.032, allocations: 334 kB / 0.7617 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/1.032, allocations: 116.8 kB / 0.7618 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.815e-05/1.032, allocations: 9.609 kB / 0.7618 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/1.032, allocations: 8.266 kB / 0.7618 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/1.032, allocations: 20.16 kB / 0.7618 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/1.032, allocations: 5.812 kB / 0.7618 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002933/1.032, allocations: 224 kB / 0.762 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/1.032, allocations: 0.5312 kB / 0.762 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004844/1.033, allocations: 75.19 kB / 0.7621 GB, free: 13.63 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.00044/1.033, allocations: 150.9 kB / 0.7623 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004844/1.034, allocations: 161.5 kB / 0.7624 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.034, allocations: 1.406 kB / 0.7624 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002105/1.034, allocations: 81.47 kB / 0.7625 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008567/1.035, allocations: 156.5 kB / 0.7626 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008479/1.036, allocations: 0.5763 MB / 0.7632 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/1.036, allocations: 0.7814 MB / 0.764 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.289e-05/1.036, allocations: 27.7 kB / 0.764 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of SimCode: time 2.61e-07/1.036, allocations: 0 / 0.764 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of Templates: time 0.008377/1.045, allocations: 4.552 MB / 0.7684 GB, free: 12.3 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)