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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.005552/0.005552, allocations: 171 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7489/0.7489, allocations: 135.2 MB / 151.1 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 223.2 MB / 406.9 MB, free: 3.223 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009089/0.0009089, allocations: 93.8 kB / 489.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00031/0.00031, allocations: 19.94 kB / 0.5691 GB, free: 14.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3776, allocations: 82.31 MB / 0.6495 GB, free: 36.18 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.946/4.323, allocations: 1.83 GB / 2.48 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/4.324, allocations: 94 kB / 2.48 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.8846/5.208, allocations: 300.7 MB / 2.774 GB, free: 82.29 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.244e-06/5.208, allocations: 0 / 2.774 GB, free: 82.29 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.825e-05/5.208, allocations: 12 kB / 2.774 GB, free: 82.28 MB / 0.6823 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.001144/5.209, allocations: 0.6895 MB / 2.774 GB, free: 81.54 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/5.209, allocations: 12.03 kB / 2.774 GB, free: 81.53 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002807/5.21, allocations: 59.5 kB / 2.774 GB, free: 81.47 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003974/5.21, allocations: 319.5 kB / 2.775 GB, free: 81.11 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/5.21, allocations: 24.52 kB / 2.775 GB, free: 81.09 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/5.21, allocations: 32 kB / 2.775 GB, free: 81.06 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004416/5.211, allocations: 311.7 kB / 2.775 GB, free: 80.73 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/5.211, allocations: 4 kB / 2.775 GB, free: 80.72 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/5.211, allocations: 8 kB / 2.775 GB, free: 80.71 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/5.211, allocations: 8 kB / 2.775 GB, free: 80.71 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003524/5.211, allocations: 205.5 kB / 2.775 GB, free: 80.51 MB / 0.6823 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.00116/5.212, allocations: 1.527 MB / 2.777 GB, free: 78.84 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/5.212, allocations: 118.5 kB / 2.777 GB, free: 78.72 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000428/5.213, allocations: 299.3 kB / 2.777 GB, free: 78.37 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/5.213, allocations: 34.56 kB / 2.777 GB, free: 78.33 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/5.213, allocations: 0 / 2.777 GB, free: 78.33 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13): time 0.0006507/5.214, allocations: 269.4 kB / 2.777 GB, free: 78.06 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.136e-05/5.214, allocations: 55.34 kB / 2.777 GB, free: 77.99 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/5.214, allocations: 275.7 kB / 2.778 GB, free: 77.71 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/5.214, allocations: 29.69 kB / 2.778 GB, free: 77.68 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.224e-05/5.214, allocations: 188.1 kB / 2.778 GB, free: 77.49 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/5.214, allocations: 47.28 kB / 2.778 GB, free: 77.45 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.233e-06/5.214, allocations: 11.94 kB / 2.778 GB, free: 77.43 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.701e-05/5.214, allocations: 342.8 kB / 2.778 GB, free: 77.09 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/5.214, allocations: 55.95 kB / 2.778 GB, free: 77.04 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/5.214, allocations: 120.1 kB / 2.778 GB, free: 76.89 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/5.215, allocations: 79.89 kB / 2.779 GB, free: 76.82 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/5.215, allocations: 0 / 2.779 GB, free: 76.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003434/5.215, allocations: 213.2 kB / 2.779 GB, free: 76.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/5.215, allocations: 4 kB / 2.779 GB, free: 76.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/5.215, allocations: 4.156 kB / 2.779 GB, free: 76.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/5.215, allocations: 4 kB / 2.779 GB, free: 76.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/5.215, allocations: 35.98 kB / 2.779 GB, free: 76.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/5.215, allocations: 7.984 kB / 2.779 GB, free: 76.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/5.215, allocations: 43.59 kB / 2.779 GB, free: 76.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.099e-05/5.215, allocations: 19.94 kB / 2.779 GB, free: 76.48 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001077/5.215, allocations: 149.7 kB / 2.779 GB, free: 76.33 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/5.216, allocations: 31.62 kB / 2.779 GB, free: 76.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003942/5.216, allocations: 204.3 kB / 2.779 GB, free: 76.09 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/5.216, allocations: 3.938 kB / 2.779 GB, free: 76.09 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/5.216, allocations: 0 / 2.779 GB, free: 76.09 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/5.216, allocations: 3.984 kB / 2.779 GB, free: 76.08 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000795/5.217, allocations: 0.6758 MB / 2.78 GB, free: 75.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/5.217, allocations: 0 / 2.78 GB, free: 75.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/5.217, allocations: 28.2 kB / 2.78 GB, free: 75.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/5.217, allocations: 8 kB / 2.78 GB, free: 75.29 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/5.217, allocations: 4 kB / 2.78 GB, free: 75.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/5.217, allocations: 3.938 kB / 2.78 GB, free: 75.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/5.217, allocations: 7.953 kB / 2.78 GB, free: 75.28 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003643/5.217, allocations: 428.2 kB / 2.78 GB, free: 74.78 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.876e-05/5.217, allocations: 120.8 kB / 2.78 GB, free: 74.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/5.217, allocations: 0 / 2.78 GB, free: 74.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/5.218, allocations: 27.84 kB / 2.78 GB, free: 74.62 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/5.218, allocations: 15.98 kB / 2.781 GB, free: 74.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/5.218, allocations: 4 kB / 2.781 GB, free: 74.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001592/5.218, allocations: 223 kB / 2.781 GB, free: 74.38 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/5.218, allocations: 0 / 2.781 GB, free: 74.38 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007446/5.219, allocations: 179.9 kB / 2.781 GB, free: 74.2 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001408/5.22, allocations: 1.197 MB / 2.782 GB, free: 72.98 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003634/5.22, allocations: 159.7 kB / 2.782 GB, free: 72.83 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/5.22, allocations: 320 / 2.782 GB, free: 72.83 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00015/5.221, allocations: 87.89 kB / 2.782 GB, free: 72.74 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006486/5.221, allocations: 136.5 kB / 2.782 GB, free: 72.61 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007045/5.222, allocations: 0.628 MB / 2.783 GB, free: 71.93 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/5.222, allocations: 0.7914 MB / 2.784 GB, free: 71.12 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001727/5.222, allocations: 62.92 kB / 2.784 GB, free: 71.06 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.991e-05/5.222, allocations: 23.44 kB / 2.784 GB, free: 71.04 MB / 0.6823 GB Notification: Performance of SimCode: time 3.31e-07/5.222, allocations: 0 / 2.784 GB, free: 71.04 MB / 0.6823 GB Notification: Performance of Templates: time 0.02256/5.245, allocations: 19.33 MB / 2.803 GB, free: 51.76 MB / 0.6823 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)