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.001391/0.001391, allocations: 106.4 kB / 16.37 MB, free: 6.438 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.001629/0.001629, allocations: 189.1 kB / 17.3 MB, free: 5.781 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7866/0.7866, allocations: 132.2 MB / 423.3 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 59.91 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4162/0.4176, allocations: 80.19 MB / 0.5815 GB, free: 27.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1948/0.6125, allocations: 167.5 MB / 0.7451 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4135/1.026, allocations: 6.544 MB / 0.7515 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006325/1.027, allocations: 11.78 kB / 0.7515 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007438/1.028, allocations: 166.5 kB / 0.7517 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002418/1.03, allocations: 0.8384 MB / 0.7525 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000991/1.031, allocations: 329 kB / 0.7528 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00115/1.032, allocations: 0.7188 MB / 0.7535 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004584/1.033, allocations: 277.6 kB / 0.7538 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/1.034, allocations: 0.5505 MB / 0.7543 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003262/1.034, allocations: 271.2 kB / 0.7546 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.631e-05/1.034, allocations: 20.97 kB / 0.7546 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006023/1.035, allocations: 345.8 kB / 0.7549 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/1.035, allocations: 103.8 kB / 0.755 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001524/1.035, allocations: 164.1 kB / 0.7552 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005354/1.036, allocations: 482.7 kB / 0.7556 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/1.036, allocations: 0 / 0.7556 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.654e-06/1.036, allocations: 0.6875 kB / 0.7556 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.485e-06/1.036, allocations: 0 / 0.7556 GB, free: 1.727 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.0008997/1.036, allocations: 0.6154 MB / 0.7562 GB, free: 17.27 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/1.037, allocations: 7.938 kB / 0.7562 GB, free: 17.27 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002916/1.037, allocations: 65.66 kB / 0.7563 GB, free: 17.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004595/1.037, allocations: 325.3 kB / 0.7566 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/1.037, allocations: 23.69 kB / 0.7566 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/1.037, allocations: 21.91 kB / 0.7566 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005155/1.038, allocations: 316.5 kB / 0.7569 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/1.038, allocations: 1 kB / 0.7569 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/1.038, allocations: 10.19 kB / 0.757 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.649e-06/1.038, allocations: 9.438 kB / 0.757 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000453/1.038, allocations: 206.8 kB / 0.7572 GB, free: 16.92 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.001609/1.04, allocations: 1.528 MB / 0.7587 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/1.04, allocations: 125.8 kB / 0.7588 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/1.04, allocations: 91.78 kB / 0.7589 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005975/1.041, allocations: 304.8 kB / 0.7592 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/1.041, allocations: 32.31 kB / 0.7592 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/1.041, allocations: 0.75 kB / 0.7592 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.000872/1.042, allocations: 279.3 kB / 0.7594 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/1.042, allocations: 53.55 kB / 0.7595 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003521/1.042, allocations: 311.3 kB / 0.7598 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/1.042, allocations: 27.73 kB / 0.7598 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/1.043, allocations: 187.9 kB / 0.76 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/1.043, allocations: 44.66 kB / 0.76 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.229e-05/1.043, allocations: 38.44 kB / 0.7601 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.043, allocations: 338.6 kB / 0.7604 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/1.043, allocations: 59.41 kB / 0.7605 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/1.043, allocations: 114.7 kB / 0.7606 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00034/1.044, allocations: 175.2 kB / 0.7607 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/1.044, allocations: 0.5625 kB / 0.7607 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004561/1.044, allocations: 219.9 kB / 0.7609 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/1.044, allocations: 5.688 kB / 0.761 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/1.044, allocations: 5.719 kB / 0.761 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/1.044, allocations: 2.781 kB / 0.761 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/1.044, allocations: 33.06 kB / 0.761 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/1.044, allocations: 7.562 kB / 0.761 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/1.045, allocations: 32.89 kB / 0.761 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/1.045, allocations: 7.875 kB / 0.761 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.0001541/1.045, allocations: 147.5 kB / 0.7612 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.824e-05/1.045, allocations: 33.98 kB / 0.7612 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004778/1.045, allocations: 208.9 kB / 0.7614 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/1.045, allocations: 2.188 kB / 0.7614 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/1.045, allocations: 0.6875 kB / 0.7614 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/1.045, allocations: 1.531 kB / 0.7614 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/1.046, allocations: 0.6793 MB / 0.7621 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/1.046, allocations: 2.297 kB / 0.7621 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/1.047, allocations: 36.3 kB / 0.7621 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.8e-06/1.047, allocations: 2.844 kB / 0.7621 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/1.047, allocations: 2.688 kB / 0.7621 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/1.047, allocations: 3.906 kB / 0.7621 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/1.047, allocations: 6.281 kB / 0.7621 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004497/1.047, allocations: 340.8 kB / 0.7625 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/1.047, allocations: 120.9 kB / 0.7626 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/1.047, allocations: 5.688 kB / 0.7626 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/1.047, allocations: 13.36 kB / 0.7626 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/1.048, allocations: 22 kB / 0.7626 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/1.048, allocations: 6.031 kB / 0.7626 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000288/1.048, allocations: 221.2 kB / 0.7628 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/1.048, allocations: 0.5312 kB / 0.7628 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004655/1.048, allocations: 77.58 kB / 0.7629 GB, free: 13.62 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.0003759/1.049, allocations: 152.9 kB / 0.763 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004465/1.049, allocations: 155.2 kB / 0.7632 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.049, allocations: 1.469 kB / 0.7632 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002068/1.049, allocations: 86.47 kB / 0.7633 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.0008334/1.05, allocations: 149.7 kB / 0.7634 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009618/1.051, allocations: 0.5379 MB / 0.7639 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/1.052, allocations: 0.7818 MB / 0.7647 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001732/1.052, allocations: 61.22 kB / 0.7648 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.638e-05/1.052, allocations: 26.27 kB / 0.7648 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of SimCode: time 3e-07/1.052, allocations: 0.7812 kB / 0.7648 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.01084/1.063, allocations: 5.112 MB / 0.7698 GB, free: 12.38 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)