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.001267/0.001267, allocations: 104.1 kB / 16.35 MB, free: 6.285 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.001147/0.001147, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.284/1.284, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7637/0.7637, allocations: 135.1 MB / 426.3 MB, free: 4.184 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 59.89 kB / 0.5067 GB, free: 7.711 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.422/0.4232, allocations: 80.91 MB / 0.5858 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.163/0.5863, allocations: 163.2 MB / 0.7452 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005552/0.5919, allocations: 4.583 MB / 0.7496 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002843/0.5922, allocations: 11.88 kB / 0.7496 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003916/0.5926, allocations: 119.1 kB / 0.7498 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001139/0.5938, allocations: 0.5445 MB / 0.7503 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.5953, allocations: 0.7655 MB / 0.751 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00057/0.5959, allocations: 0.5729 MB / 0.7516 GB, free: 192 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3285/0.9244, allocations: 214.4 kB / 0.7518 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001628/0.9261, allocations: 459.4 kB / 0.7522 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006464/0.9268, allocations: 293.9 kB / 0.7525 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.317e-05/0.9269, allocations: 19.81 kB / 0.7525 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.9287, allocations: 1.001 MB / 0.7535 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.9288, allocations: 91.58 kB / 0.7536 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.929, allocations: 122.4 kB / 0.7537 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009915/0.93, allocations: 0.7215 MB / 0.7544 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.93, allocations: 2.656 kB / 0.7544 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.743e-06/0.93, allocations: 1.969 kB / 0.7544 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.93, allocations: 0 / 0.7544 GB, free: 2.441 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.0009295/0.931, allocations: 0.5962 MB / 0.755 GB, free: 17.99 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.931, allocations: 9.359 kB / 0.755 GB, free: 17.99 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000617/0.9316, allocations: 76.69 kB / 0.7551 GB, free: 17.97 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.932, allocations: 298.2 kB / 0.7554 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.932, allocations: 18.53 kB / 0.7554 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.063e-05/0.9321, allocations: 17.22 kB / 0.7554 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004172/0.9325, allocations: 289.5 kB / 0.7557 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.9325, allocations: 2.5 kB / 0.7557 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.9326, allocations: 7.062 kB / 0.7557 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.9326, allocations: 5.969 kB / 0.7557 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003545/0.9329, allocations: 210 kB / 0.7559 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.9344, allocations: 1.246 MB / 0.7571 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002431/0.9347, allocations: 174.6 kB / 0.7573 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.9348, allocations: 111 kB / 0.7574 GB, free: 16.67 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007256/0.9356, allocations: 333.8 kB / 0.7577 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.9356, allocations: 37.53 kB / 0.7577 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.9356, allocations: 0.9062 kB / 0.7577 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0007131/0.9364, allocations: 278.4 kB / 0.758 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.063e-05/0.9365, allocations: 165.6 kB / 0.7582 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.9367, allocations: 285.2 kB / 0.7584 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.9368, allocations: 29.45 kB / 0.7585 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.13e-05/0.9369, allocations: 154.6 kB / 0.7586 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.9369, allocations: 44.16 kB / 0.7587 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.791e-05/0.937, allocations: 43.73 kB / 0.7587 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.9371, allocations: 333.5 kB / 0.759 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.9373, allocations: 68.89 kB / 0.7591 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.9375, allocations: 150.2 kB / 0.7592 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003085/0.9378, allocations: 209 kB / 0.7594 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.9378, allocations: 0 / 0.7594 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005142/0.9383, allocations: 241.2 kB / 0.7597 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.9384, allocations: 7.219 kB / 0.7597 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.9384, allocations: 3.281 kB / 0.7597 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.9384, allocations: 6.656 kB / 0.7597 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.9386, allocations: 42.94 kB / 0.7597 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.9386, allocations: 8.5 kB / 0.7597 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.9388, allocations: 36.12 kB / 0.7598 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/0.9389, allocations: 11.23 kB / 0.7598 GB, free: 15.32 MB / 0.5919 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.0001284/0.939, allocations: 150.4 kB / 0.7599 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.9392, allocations: 24.86 kB / 0.7599 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004588/0.9396, allocations: 185.5 kB / 0.7601 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.9396, allocations: 8.016 kB / 0.7601 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.9396, allocations: 5.562 kB / 0.7601 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.9397, allocations: 2.375 kB / 0.7601 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009705/0.9406, allocations: 0.8552 MB / 0.761 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.9406, allocations: 2.25 kB / 0.761 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.9408, allocations: 25.16 kB / 0.761 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.9408, allocations: 2.047 kB / 0.761 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.9408, allocations: 6.406 kB / 0.761 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.9408, allocations: 3.953 kB / 0.761 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.9408, allocations: 5.531 kB / 0.761 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005425/0.9414, allocations: 341.9 kB / 0.7613 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.9415, allocations: 111 kB / 0.7614 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.9415, allocations: 4.188 kB / 0.7614 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.9417, allocations: 8.656 kB / 0.7614 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.9418, allocations: 10.59 kB / 0.7615 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.9418, allocations: 7.234 kB / 0.7615 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000271/0.9421, allocations: 235.9 kB / 0.7617 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9421, allocations: 4.031 kB / 0.7617 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004828/0.9425, allocations: 96.16 kB / 0.7618 GB, free: 14.09 MB / 0.5919 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.0005065/0.9431, allocations: 216.2 kB / 0.762 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004114/0.9435, allocations: 155.3 kB / 0.7621 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.9435, allocations: 2.812 kB / 0.7621 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.9437, allocations: 57.16 kB / 0.7622 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007573/0.9444, allocations: 146.5 kB / 0.7623 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008836/0.9453, allocations: 499.5 kB / 0.7628 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.9457, allocations: 0.7575 MB / 0.7636 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001922/0.9459, allocations: 64.33 kB / 0.7636 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.979e-05/0.946, allocations: 26.03 kB / 0.7636 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.946, allocations: 0 / 0.7636 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of Templates: time 0.01102/0.957, allocations: 5.792 MB / 0.7693 GB, free: 12.86 MB / 0.5919 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)