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.006748/0.006748, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001273/0.001273, allocations: 195.4 kB / 16.67 MB, free: 5.52 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8153/0.8153, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 63.62 kB / 0.5814 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1753, allocations: 80.21 MB / 0.6597 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.6828/0.8582, allocations: 167.5 MB / 0.8233 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0104/0.8686, allocations: 6.537 MB / 0.8297 GB, free: 248 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008377/0.8695, allocations: 11.53 kB / 0.8297 GB, free: 244 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008064/0.8703, allocations: 170.7 kB / 0.8298 GB, free: 92 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002949/0.8734, allocations: 0.8777 MB / 0.8307 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.8745, allocations: 329.2 kB / 0.831 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001156/0.8757, allocations: 0.7215 MB / 0.8317 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005683/0.8763, allocations: 286 kB / 0.832 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001443/0.8777, allocations: 0.563 MB / 0.8325 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005774/0.8783, allocations: 272.4 kB / 0.8328 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.644e-05/0.8784, allocations: 25 kB / 0.8328 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007317/0.8792, allocations: 341.5 kB / 0.8332 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.8793, allocations: 106.8 kB / 0.8333 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002175/0.8795, allocations: 165.3 kB / 0.8334 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007892/0.8803, allocations: 477.2 kB / 0.8339 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.8803, allocations: 2.594 kB / 0.8339 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8804, allocations: 4 kB / 0.8339 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.259e-05/0.8804, allocations: 0 / 0.8339 GB, free: 13.44 MB / 0.6075 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.001049/0.8814, allocations: 0.6141 MB / 0.8345 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.8815, allocations: 10.12 kB / 0.8345 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003698/0.8819, allocations: 65.52 kB / 0.8345 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005619/0.8824, allocations: 319.9 kB / 0.8349 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.8825, allocations: 21.5 kB / 0.8349 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/0.8825, allocations: 22.97 kB / 0.8349 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005781/0.8831, allocations: 321.7 kB / 0.8352 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.8831, allocations: 0 / 0.8352 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.8831, allocations: 12.31 kB / 0.8352 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.8832, allocations: 9.797 kB / 0.8352 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004348/0.8836, allocations: 205.3 kB / 0.8354 GB, free: 12.2 MB / 0.6075 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.001661/0.8853, allocations: 1.534 MB / 0.8369 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.8855, allocations: 121.9 kB / 0.837 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.8857, allocations: 95.02 kB / 0.8371 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000576/0.8863, allocations: 307.9 kB / 0.8374 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.8864, allocations: 30.81 kB / 0.8374 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 2.154e-06/0.8864, allocations: 0 / 0.8374 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0007694/0.8871, allocations: 270.6 kB / 0.8377 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.8872, allocations: 57.84 kB / 0.8378 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003196/0.8875, allocations: 309.9 kB / 0.8381 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.8876, allocations: 29.7 kB / 0.8381 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.8877, allocations: 181.5 kB / 0.8383 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/0.8878, allocations: 44.3 kB / 0.8383 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-05/0.8878, allocations: 44.67 kB / 0.8383 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.888, allocations: 342.2 kB / 0.8387 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.8882, allocations: 58.61 kB / 0.8387 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.8884, allocations: 109.7 kB / 0.8388 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003252/0.8887, allocations: 178.6 kB / 0.839 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.8887, allocations: 0 / 0.839 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004487/0.8892, allocations: 230.8 kB / 0.8392 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.8892, allocations: 5.125 kB / 0.8392 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.8892, allocations: 0 / 0.8392 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.8892, allocations: 5.188 kB / 0.8392 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.8894, allocations: 32.98 kB / 0.8393 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.8894, allocations: 0 / 0.8393 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.8896, allocations: 33.89 kB / 0.8393 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.8896, allocations: 14.28 kB / 0.8393 GB, free: 8.863 MB / 0.6075 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.0001622/0.8898, allocations: 155.2 kB / 0.8395 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.351e-05/0.8899, allocations: 24.38 kB / 0.8395 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004268/0.8903, allocations: 206.7 kB / 0.8397 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.8903, allocations: 2.094 kB / 0.8397 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.8903, allocations: 0 / 0.8397 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-05/0.8903, allocations: 6.203 kB / 0.8397 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.8914, allocations: 0.6912 MB / 0.8404 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.8914, allocations: 2.469 kB / 0.8404 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.8915, allocations: 24.05 kB / 0.8404 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.8915, allocations: 2.844 kB / 0.8404 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.8916, allocations: 12.34 kB / 0.8404 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/0.8916, allocations: 6.938 kB / 0.8404 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.8916, allocations: 2.938 kB / 0.8404 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004536/0.892, allocations: 328.1 kB / 0.8407 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.8922, allocations: 121.1 kB / 0.8408 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.545e-05/0.8922, allocations: 8.594 kB / 0.8408 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.8924, allocations: 14.27 kB / 0.8409 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.8925, allocations: 9.016 kB / 0.8409 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.8925, allocations: 12.75 kB / 0.8409 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002226/0.8927, allocations: 222.7 kB / 0.8411 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8927, allocations: 0 / 0.8411 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004026/0.8931, allocations: 77.88 kB / 0.8412 GB, free: 7.395 MB / 0.6075 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.0004089/0.8935, allocations: 156.1 kB / 0.8413 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004206/0.894, allocations: 165.7 kB / 0.8415 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.894, allocations: 2.312 kB / 0.8415 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001901/0.8942, allocations: 78.92 kB / 0.8415 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008161/0.895, allocations: 148.8 kB / 0.8417 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009713/0.896, allocations: 0.5321 MB / 0.8422 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.8964, allocations: 0.7809 MB / 0.843 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002096/0.8966, allocations: 66.2 kB / 0.843 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.203e-05/0.8967, allocations: 22.38 kB / 0.8431 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of SimCode: time 3.61e-07/0.8967, allocations: 0 / 0.8431 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of Templates: time 0.01029/0.907, allocations: 5.141 MB / 0.8481 GB, free: 3.391 MB / 0.6075 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)