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.001438/0.001438, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9266/0.9266, allocations: 135.1 MB / 425.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 61.22 kB / 0.5053 GB, free: 5.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1887, allocations: 80.93 MB / 0.5844 GB, free: 4.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4888/0.6776, allocations: 167.5 MB / 0.748 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007324/0.685, allocations: 6.541 MB / 0.7543 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004642/0.6855, allocations: 12.31 kB / 0.7544 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005232/0.686, allocations: 171.2 kB / 0.7545 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001974/0.688, allocations: 0.8456 MB / 0.7553 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008587/0.6889, allocations: 315.4 kB / 0.7556 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000692/0.6896, allocations: 0.72 MB / 0.7563 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004027/0.69, allocations: 278.2 kB / 0.7566 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009717/0.691, allocations: 0.5497 MB / 0.7572 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003078/0.6913, allocations: 265.8 kB / 0.7574 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.852e-05/0.6913, allocations: 21.19 kB / 0.7574 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005813/0.6919, allocations: 341.4 kB / 0.7578 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.6921, allocations: 107.7 kB / 0.7579 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.6922, allocations: 163.2 kB / 0.758 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005576/0.6928, allocations: 470.5 kB / 0.7585 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.6928, allocations: 4 kB / 0.7585 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6928, allocations: 0 / 0.7585 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.6928, allocations: 0 / 0.7585 GB, free: 10.71 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.0007592/0.6936, allocations: 0.6192 MB / 0.7591 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.6936, allocations: 8.031 kB / 0.7591 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002896/0.6939, allocations: 63.44 kB / 0.7591 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.6943, allocations: 305.3 kB / 0.7594 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.6943, allocations: 16.56 kB / 0.7594 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.829e-05/0.6943, allocations: 35.94 kB / 0.7595 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00047/0.6948, allocations: 315.6 kB / 0.7598 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.6948, allocations: 3.938 kB / 0.7598 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.6949, allocations: 15.94 kB / 0.7598 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.6949, allocations: 8.5 kB / 0.7598 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003806/0.6953, allocations: 205.5 kB / 0.76 GB, free: 9.027 MB / 0.5762 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.001369/0.6966, allocations: 1.538 MB / 0.7615 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.6969, allocations: 117.4 kB / 0.7616 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.6971, allocations: 98.86 kB / 0.7617 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006377/0.6977, allocations: 299.2 kB / 0.762 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.6978, allocations: 34.81 kB / 0.762 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.793e-06/0.6978, allocations: 0 / 0.762 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007492/0.6985, allocations: 277.1 kB / 0.7623 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.6986, allocations: 51.41 kB / 0.7623 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/0.6989, allocations: 316.5 kB / 0.7626 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.6989, allocations: 25.7 kB / 0.7627 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.6991, allocations: 188.1 kB / 0.7628 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.813e-05/0.6991, allocations: 39.45 kB / 0.7629 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.791e-05/0.6992, allocations: 37.61 kB / 0.7629 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.6993, allocations: 338.8 kB / 0.7632 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.6995, allocations: 59.95 kB / 0.7633 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.6997, allocations: 113.1 kB / 0.7634 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000318/0.7, allocations: 184.1 kB / 0.7636 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.7, allocations: 0 / 0.7636 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004084/0.7004, allocations: 217.1 kB / 0.7638 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.7004, allocations: 4 kB / 0.7638 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.7005, allocations: 48 / 0.7638 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.7005, allocations: 7.984 kB / 0.7638 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.7007, allocations: 32.14 kB / 0.7638 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.7007, allocations: 7.938 kB / 0.7638 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.7009, allocations: 31.67 kB / 0.7639 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.7009, allocations: 8 kB / 0.7639 GB, free: 4.75 MB / 0.5762 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.0001366/0.701, allocations: 159.1 kB / 0.764 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.9e-05/0.7011, allocations: 31.25 kB / 0.7641 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004211/0.7015, allocations: 212.3 kB / 0.7643 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.7015, allocations: 0 / 0.7643 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.7015, allocations: 0 / 0.7643 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.7015, allocations: 3.984 kB / 0.7643 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009666/0.7025, allocations: 0.6874 MB / 0.7649 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.7025, allocations: 0 / 0.7649 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.7027, allocations: 27.92 kB / 0.765 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.7027, allocations: 4 kB / 0.765 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.7027, allocations: 7.938 kB / 0.765 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.7027, allocations: 4 kB / 0.765 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7027, allocations: 8.094 kB / 0.765 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004322/0.7032, allocations: 341 kB / 0.7653 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.7033, allocations: 112.8 kB / 0.7654 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.141e-05/0.7033, allocations: 7.938 kB / 0.7654 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.7035, allocations: 7.984 kB / 0.7654 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.589e-05/0.7036, allocations: 15.98 kB / 0.7654 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.7036, allocations: 4 kB / 0.7655 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002046/0.7038, allocations: 235 kB / 0.7657 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7038, allocations: 0 / 0.7657 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003669/0.7042, allocations: 71.84 kB / 0.7657 GB, free: 2.695 MB / 0.5762 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.0003887/0.7046, allocations: 156.3 kB / 0.7659 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004021/0.705, allocations: 165 kB / 0.7661 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.705, allocations: 0 / 0.7661 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.7052, allocations: 84.58 kB / 0.7661 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007926/0.706, allocations: 152.3 kB / 0.7663 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008485/0.7068, allocations: 0.5481 MB / 0.7668 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.7072, allocations: 0.7872 MB / 0.7676 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001955/0.7074, allocations: 58.5 kB / 0.7676 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.789e-05/0.7074, allocations: 27.44 kB / 0.7677 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/0.7074, allocations: 0 / 0.7677 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of Templates: time 0.01058/0.718, allocations: 5.128 MB / 0.7727 GB, free: 11.66 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)