Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.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.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009022/0.0009021, allocations: 99.58 kB / 16.02 MB, free: 76 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.00138/0.00138, allocations: 181.5 kB / 16.92 MB, free: 6.918 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.392/1.392, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9448/0.9448, allocations: 135.3 MB / 427.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003194/0.0003195, allocations: 8 kB / 0.5082 GB, free: 4.805 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1586, allocations: 82.31 MB / 0.5886 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.4331/0.5918, allocations: 158.9 MB / 0.7438 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006409/0.5982, allocations: 4.584 MB / 0.7482 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003204/0.5986, allocations: 9.469 kB / 0.7482 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004571/0.599, allocations: 95.66 kB / 0.7483 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001627/0.6007, allocations: 0.508 MB / 0.7488 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001939/0.6026, allocations: 0.7155 MB / 0.7495 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009697/0.6036, allocations: 0.8094 MB / 0.7503 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003372/0.604, allocations: 177.5 kB / 0.7505 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.605, allocations: 426.1 kB / 0.7509 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005999/0.6056, allocations: 288.5 kB / 0.7512 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.167e-05/0.6057, allocations: 9.75 kB / 0.7512 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001901/0.6076, allocations: 1.16 MB / 0.7523 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.6077, allocations: 85.42 kB / 0.7524 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.6078, allocations: 139.9 kB / 0.7525 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007471/0.6086, allocations: 0.5002 MB / 0.753 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.6086, allocations: 0 / 0.753 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6086, allocations: 0 / 0.753 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.6086, allocations: 0 / 0.753 GB, free: 2.781 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008401/0.6095, allocations: 0.5467 MB / 0.7535 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.6095, allocations: 11.5 kB / 0.7536 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006493/0.6102, allocations: 91.56 kB / 0.7536 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.6105, allocations: 282.6 kB / 0.7539 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.6106, allocations: 14.62 kB / 0.7539 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.448e-05/0.6106, allocations: 19.19 kB / 0.7539 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004849/0.6111, allocations: 296.7 kB / 0.7542 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.6111, allocations: 0 / 0.7542 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/0.6112, allocations: 11.25 kB / 0.7542 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.6112, allocations: 2.562 kB / 0.7542 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000402/0.6116, allocations: 214.4 kB / 0.7544 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.613, allocations: 1.254 MB / 0.7557 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/0.6133, allocations: 176.1 kB / 0.7558 GB, free: 336 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.6135, allocations: 121.6 kB / 0.756 GB, free: 252 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007411/0.6143, allocations: 344.3 kB / 0.7563 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.6143, allocations: 43.95 kB / 0.7563 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.6143, allocations: 0 / 0.7563 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007801/0.6151, allocations: 299.1 kB / 0.7566 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.586e-05/0.6152, allocations: 161.6 kB / 0.7568 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/0.6155, allocations: 281.1 kB / 0.757 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.6155, allocations: 29.7 kB / 0.7571 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.6156, allocations: 148.2 kB / 0.7572 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/0.6157, allocations: 49.45 kB / 0.7573 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.6157, allocations: 24.08 kB / 0.7573 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.6159, allocations: 334.1 kB / 0.7576 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.616, allocations: 75.34 kB / 0.7577 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.6163, allocations: 150 kB / 0.7578 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003608/0.6166, allocations: 224.9 kB / 0.758 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.6166, allocations: 0 / 0.758 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005092/0.6171, allocations: 261.2 kB / 0.7583 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.6172, allocations: 10.11 kB / 0.7583 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.6172, allocations: 0 / 0.7583 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.6172, allocations: 3.312 kB / 0.7583 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.6174, allocations: 46.14 kB / 0.7583 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.6174, allocations: 0 / 0.7583 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.6176, allocations: 42.58 kB / 0.7584 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/0.6177, allocations: 17.73 kB / 0.7584 GB, free: 14.28 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001459/0.6178, allocations: 148 kB / 0.7585 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.618, allocations: 22.88 kB / 0.7585 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004907/0.6185, allocations: 209.3 kB / 0.7587 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.6185, allocations: 0 / 0.7587 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.6185, allocations: 4 kB / 0.7588 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.6185, allocations: 7.938 kB / 0.7588 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009934/0.6195, allocations: 0.8558 MB / 0.7596 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.6195, allocations: 0 / 0.7596 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.6197, allocations: 38.23 kB / 0.7596 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.6197, allocations: 4 kB / 0.7596 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.6197, allocations: 0 / 0.7596 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.6197, allocations: 4 kB / 0.7596 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6197, allocations: 0 / 0.7596 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005744/0.6203, allocations: 367.6 kB / 0.76 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.6204, allocations: 120.7 kB / 0.7601 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.951e-05/0.6204, allocations: 8 kB / 0.7601 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.6206, allocations: 11.98 kB / 0.7601 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.6207, allocations: 19.98 kB / 0.7601 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.6207, allocations: 4 kB / 0.7601 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002321/0.6209, allocations: 233.9 kB / 0.7604 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6209, allocations: 0 / 0.7604 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004971/0.6214, allocations: 91.91 kB / 0.7605 GB, free: 12.03 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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.0005499/0.622, allocations: 228.4 kB / 0.7607 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004098/0.6224, allocations: 156 kB / 0.7608 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.6224, allocations: 0 / 0.7608 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.6226, allocations: 63.89 kB / 0.7609 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000834/0.6234, allocations: 137.5 kB / 0.761 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008675/0.6243, allocations: 0.6053 MB / 0.7616 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.6247, allocations: 0.7677 MB / 0.7624 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.789e-05/0.6247, allocations: 23.44 kB / 0.7624 GB, free: 10 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.6247, allocations: 0 / 0.7624 GB, free: 10 MB / 0.5762 GB Notification: Performance of Templates: time 0.008101/0.6328, allocations: 5.19 MB / 0.7674 GB, free: 4.867 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)