Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, 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.001361/0.001361, allocations: 195.2 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7513/0.7513, allocations: 132.2 MB / 422.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 64.62 kB / 0.5018 GB, free: 3.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3969, allocations: 80.2 MB / 0.5801 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1974/0.5943, allocations: 161.4 MB / 0.7377 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005441/0.5998, allocations: 4.548 MB / 0.7421 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003721/0.6002, allocations: 11.94 kB / 0.7421 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004349/0.6006, allocations: 119.1 kB / 0.7422 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007813/0.6015, allocations: 330.4 kB / 0.7425 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007868/0.6022, allocations: 281.3 kB / 0.7428 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006554/0.6029, allocations: 0.5611 MB / 0.7434 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003647/0.6033, allocations: 209.1 kB / 0.7436 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.6043, allocations: 462.3 kB / 0.744 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002972/0.6046, allocations: 187.2 kB / 0.7442 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.205e-05/0.6047, allocations: 16 kB / 0.7442 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/0.6049, allocations: 75.94 kB / 0.7443 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.605, allocations: 87.77 kB / 0.7443 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.6052, allocations: 115.4 kB / 0.7445 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000407/0.6056, allocations: 303 kB / 0.7447 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.6056, allocations: 4 kB / 0.7448 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.873e-06/0.6056, allocations: 3.938 kB / 0.7448 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.6056, allocations: 0 / 0.7448 GB, free: 8.328 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.000918/0.6066, allocations: 0.5409 MB / 0.7453 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.6066, allocations: 8.031 kB / 0.7453 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.26e-05/0.6067, allocations: 27.72 kB / 0.7453 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003779/0.6071, allocations: 272 kB / 0.7456 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.6071, allocations: 16 kB / 0.7456 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.895e-05/0.6071, allocations: 16 kB / 0.7456 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004306/0.6076, allocations: 266 kB / 0.7459 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.6076, allocations: 3.938 kB / 0.7459 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.6076, allocations: 8 kB / 0.7459 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.6076, allocations: 4 kB / 0.7459 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003134/0.608, allocations: 147.8 kB / 0.746 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.6092, allocations: 1.363 MB / 0.7473 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.6095, allocations: 195.6 kB / 0.7475 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.6097, allocations: 97.05 kB / 0.7476 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003643/0.6101, allocations: 121 kB / 0.7477 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.6101, allocations: 38.56 kB / 0.7478 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 3.597e-06/0.6101, allocations: 0 / 0.7478 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0006262/0.6108, allocations: 205.8 kB / 0.748 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.6109, allocations: 195.8 kB / 0.7482 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.6111, allocations: 287 kB / 0.7484 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.6112, allocations: 29.7 kB / 0.7485 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.6113, allocations: 147.8 kB / 0.7486 GB, free: 4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.6113, allocations: 39.61 kB / 0.7486 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-05/0.6114, allocations: 37.64 kB / 0.7487 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.6116, allocations: 334.8 kB / 0.749 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.6117, allocations: 47.97 kB / 0.749 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.6119, allocations: 111.7 kB / 0.7492 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002875/0.6122, allocations: 162.9 kB / 0.7493 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6122, allocations: 4 kB / 0.7493 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003694/0.6126, allocations: 193.1 kB / 0.7495 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.6126, allocations: 10.66 kB / 0.7495 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.6126, allocations: 0 / 0.7495 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.6126, allocations: 4 kB / 0.7495 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.6128, allocations: 28.2 kB / 0.7495 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.6128, allocations: 8 kB / 0.7495 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.6129, allocations: 23.73 kB / 0.7496 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.613, allocations: 15.94 kB / 0.7496 GB, free: 2.93 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 15 * 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.0001461/0.6131, allocations: 149.7 kB / 0.7497 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.6133, allocations: 23.72 kB / 0.7497 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003355/0.6136, allocations: 134.9 kB / 0.7499 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.6136, allocations: 8 kB / 0.7499 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.6136, allocations: 0 / 0.7499 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.6136, allocations: 4 kB / 0.7499 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008093/0.6144, allocations: 0.7652 MB / 0.7506 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.6145, allocations: 8.156 kB / 0.7506 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.6146, allocations: 23.92 kB / 0.7507 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.6146, allocations: 4 kB / 0.7507 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.6146, allocations: 0 / 0.7507 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.6146, allocations: 4 kB / 0.7507 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.6146, allocations: 4.062 kB / 0.7507 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005312/0.6152, allocations: 351.3 kB / 0.751 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.6153, allocations: 108.8 kB / 0.7511 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/0.6153, allocations: 4 kB / 0.7511 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.6155, allocations: 16 kB / 0.7511 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.6155, allocations: 15.86 kB / 0.7511 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.6156, allocations: 4 kB / 0.7512 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001991/0.6158, allocations: 209.9 kB / 0.7514 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6158, allocations: 0 / 0.7514 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000348/0.6161, allocations: 55.94 kB / 0.7514 GB, free: 0.918 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0003555/0.6165, allocations: 141.9 kB / 0.7515 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003625/0.6169, allocations: 119.8 kB / 0.7517 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6169, allocations: 0 / 0.7517 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.617, allocations: 60.47 kB / 0.7517 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007595/0.6178, allocations: 136.3 kB / 0.7518 GB, free: 488 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008484/0.6186, allocations: 487.9 kB / 0.7523 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.619, allocations: 0.7558 MB / 0.753 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001582/0.6192, allocations: 54.23 kB / 0.7531 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.25e-05/0.6192, allocations: 19.44 kB / 0.7531 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of SimCode: time 3.51e-07/0.6192, allocations: 4 kB / 0.7531 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of Templates: time 0.008363/0.6276, allocations: 4.224 MB / 0.7572 GB, free: 10.96 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)