Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001514/0.001514, allocations: 104.9 kB / 16.37 MB, free: 6.426 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.001686/0.001686, allocations: 197.3 kB / 17.31 MB, free: 5.801 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7782/0.7782, allocations: 132.2 MB / 423.3 MB, free: 6.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 67.91 kB / 0.5032 GB, free: 11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.434/0.436, allocations: 80.18 MB / 0.5815 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.1713/0.6073, allocations: 163.2 MB / 0.7409 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005771/0.6132, allocations: 4.578 MB / 0.7454 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000323/0.6135, allocations: 11.94 kB / 0.7454 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004517/0.614, allocations: 123.1 kB / 0.7455 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001265/0.6153, allocations: 0.5367 MB / 0.746 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001905/0.6172, allocations: 0.7754 MB / 0.7468 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006681/0.6179, allocations: 0.5768 MB / 0.7473 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003563/0.6183, allocations: 212.9 kB / 0.7475 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.6193, allocations: 466.2 kB / 0.748 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005751/0.6199, allocations: 290.9 kB / 0.7483 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.936e-05/0.6199, allocations: 20 kB / 0.7483 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.6216, allocations: 1.005 MB / 0.7493 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.6217, allocations: 87.77 kB / 0.7493 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.6218, allocations: 135.3 kB / 0.7495 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.6229, allocations: 0.7169 MB / 0.7502 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.6229, allocations: 4 kB / 0.7502 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6229, allocations: 0 / 0.7502 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.6229, allocations: 0 / 0.7502 GB, free: 0.9453 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009596/0.6239, allocations: 0.5919 MB / 0.7508 GB, free: 312 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.6239, allocations: 8.031 kB / 0.7508 GB, free: 304 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006731/0.6246, allocations: 71.66 kB / 0.7508 GB, free: 232 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2641/0.8887, allocations: 301.9 kB / 0.7511 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.8888, allocations: 13.22 kB / 0.7511 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.066e-05/0.8889, allocations: 19.91 kB / 0.7512 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005721/0.8894, allocations: 288 kB / 0.7514 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.8895, allocations: 1.875 kB / 0.7514 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/0.8895, allocations: 11.48 kB / 0.7514 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.8895, allocations: 4.75 kB / 0.7514 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004747/0.89, allocations: 211.6 kB / 0.7516 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001575/0.8916, allocations: 1.236 MB / 0.7529 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/0.8919, allocations: 176.7 kB / 0.753 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.8921, allocations: 108.1 kB / 0.7531 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007321/0.8928, allocations: 337 kB / 0.7534 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.8928, allocations: 44.73 kB / 0.7535 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.753e-06/0.8928, allocations: 0 / 0.7535 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007865/0.8936, allocations: 272.4 kB / 0.7538 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.8937, allocations: 161.8 kB / 0.7539 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.894, allocations: 290.1 kB / 0.7542 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.894, allocations: 28.08 kB / 0.7542 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.744e-05/0.8941, allocations: 149.6 kB / 0.7544 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.8941, allocations: 42.97 kB / 0.7544 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.079e-05/0.8942, allocations: 41.97 kB / 0.7544 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.364e-05/0.8943, allocations: 340.6 kB / 0.7548 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.8945, allocations: 69.56 kB / 0.7548 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.8947, allocations: 147.2 kB / 0.755 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003591/0.8951, allocations: 207.6 kB / 0.7552 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.8951, allocations: 0.8125 kB / 0.7552 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005393/0.8957, allocations: 251.2 kB / 0.7554 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.8957, allocations: 5.594 kB / 0.7554 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.8957, allocations: 5.797 kB / 0.7554 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.8957, allocations: 4.547 kB / 0.7554 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.8959, allocations: 36.09 kB / 0.7555 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.896, allocations: 2.938 kB / 0.7555 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.8962, allocations: 41.28 kB / 0.7555 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.716e-05/0.8962, allocations: 14.23 kB / 0.7555 GB, free: 166.4 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.0001163/0.8963, allocations: 153.5 kB / 0.7557 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.8965, allocations: 23.56 kB / 0.7557 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004625/0.897, allocations: 194.1 kB / 0.7559 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.897, allocations: 2.547 kB / 0.7559 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.897, allocations: 2.062 kB / 0.7559 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.897, allocations: 2.188 kB / 0.7559 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008447/0.8978, allocations: 0.8573 MB / 0.7567 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.8979, allocations: 1.438 kB / 0.7567 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.898, allocations: 25.72 kB / 0.7567 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.898, allocations: 2.406 kB / 0.7567 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.898, allocations: 6.438 kB / 0.7567 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.898, allocations: 2.812 kB / 0.7567 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.898, allocations: 1.5 kB / 0.7567 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005334/0.8986, allocations: 346.1 kB / 0.7571 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.798e-05/0.8987, allocations: 110.5 kB / 0.7572 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.569e-05/0.8987, allocations: 14.66 kB / 0.7572 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.8989, allocations: 8.625 kB / 0.7572 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.899, allocations: 6.188 kB / 0.7572 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.899, allocations: 12.47 kB / 0.7572 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002624/0.8992, allocations: 234.6 kB / 0.7574 GB, free: 165 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.9e-07/0.8993, allocations: 1.438 kB / 0.7574 GB, free: 165 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006928/0.8999, allocations: 94.97 kB / 0.7575 GB, free: 165 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.0006245/0.9006, allocations: 221.5 kB / 0.7577 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004679/0.9011, allocations: 143.8 kB / 0.7579 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.9011, allocations: 4.438 kB / 0.7579 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.9012, allocations: 63.7 kB / 0.7579 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007671/0.902, allocations: 128 kB / 0.7581 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009244/0.903, allocations: 0.4896 MB / 0.7585 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.9032, allocations: 0.7618 MB / 0.7593 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002001/0.9034, allocations: 69.33 kB / 0.7594 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.051e-05/0.9035, allocations: 23.53 kB / 0.7594 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.9035, allocations: 0.5312 kB / 0.7594 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.01107/0.9146, allocations: 5.81 MB / 0.7651 GB, free: 160.8 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)