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.001048/0.001049, allocations: 115.4 kB / 16.37 MB, free: 5.539 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.00105/0.00105, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.246/1.246, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7532/0.7532, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 59.91 kB / 0.5068 GB, free: 7.672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3229, allocations: 80.9 MB / 0.5858 GB, free: 25.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.1608/0.4837, allocations: 163.2 MB / 0.7452 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005212/0.489, allocations: 4.58 MB / 0.7496 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004148/0.4894, allocations: 7.938 kB / 0.7496 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004409/0.4899, allocations: 127 kB / 0.7498 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00128/0.4912, allocations: 0.5367 MB / 0.7503 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.4929, allocations: 0.7706 MB / 0.751 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005964/0.4935, allocations: 0.5729 MB / 0.7516 GB, free: 188 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3104/0.8039, allocations: 215.6 kB / 0.7518 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001313/0.8052, allocations: 461.8 kB / 0.7522 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000608/0.8059, allocations: 290.9 kB / 0.7525 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.421e-05/0.8059, allocations: 18.62 kB / 0.7525 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001916/0.8078, allocations: 1.007 MB / 0.7535 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.808, allocations: 90.27 kB / 0.7536 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.8081, allocations: 126.3 kB / 0.7537 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000924/0.809, allocations: 0.7223 MB / 0.7544 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.809, allocations: 0.9375 kB / 0.7544 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.513e-06/0.809, allocations: 0 / 0.7544 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.8091, allocations: 1 kB / 0.7544 GB, free: 2.387 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.0008675/0.8099, allocations: 0.5953 MB / 0.755 GB, free: 17.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.81, allocations: 9.078 kB / 0.755 GB, free: 17.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006351/0.8106, allocations: 81.05 kB / 0.7551 GB, free: 17.92 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004679/0.8111, allocations: 292.6 kB / 0.7554 GB, free: 17.7 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.8111, allocations: 16.22 kB / 0.7554 GB, free: 17.7 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.238e-05/0.8112, allocations: 19.94 kB / 0.7554 GB, free: 17.7 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004395/0.8116, allocations: 289.3 kB / 0.7557 GB, free: 17.61 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.8117, allocations: 1.875 kB / 0.7557 GB, free: 17.61 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.8117, allocations: 12.7 kB / 0.7557 GB, free: 17.61 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.8117, allocations: 2.781 kB / 0.7557 GB, free: 17.61 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003555/0.8121, allocations: 211.9 kB / 0.7559 GB, free: 17.6 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.8135, allocations: 1.238 MB / 0.7571 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.8137, allocations: 173.5 kB / 0.7573 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.8139, allocations: 115.8 kB / 0.7574 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006809/0.8146, allocations: 330.1 kB / 0.7577 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.8146, allocations: 46.16 kB / 0.7578 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 2.285e-06/0.8146, allocations: 1.906 kB / 0.7578 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0006607/0.8153, allocations: 276 kB / 0.758 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.778e-05/0.8154, allocations: 164.8 kB / 0.7582 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.8156, allocations: 286.4 kB / 0.7584 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.8156, allocations: 25.7 kB / 0.7585 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.75e-05/0.8157, allocations: 154.8 kB / 0.7586 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.8158, allocations: 45.06 kB / 0.7587 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.626e-05/0.8159, allocations: 41.06 kB / 0.7587 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.816, allocations: 339.9 kB / 0.759 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.8161, allocations: 62.55 kB / 0.7591 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.8163, allocations: 149.5 kB / 0.7592 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003208/0.8166, allocations: 210.9 kB / 0.7594 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.8166, allocations: 2.406 kB / 0.7594 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004979/0.8171, allocations: 242.9 kB / 0.7597 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.8172, allocations: 5.5 kB / 0.7597 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.8172, allocations: 4.922 kB / 0.7597 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.8172, allocations: 3.25 kB / 0.7597 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.8174, allocations: 42.34 kB / 0.7597 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.8174, allocations: 8.094 kB / 0.7597 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.8176, allocations: 34.83 kB / 0.7598 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.8176, allocations: 11.73 kB / 0.7598 GB, free: 15.27 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.0001262/0.8178, allocations: 151.9 kB / 0.7599 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.8179, allocations: 27.42 kB / 0.7599 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004368/0.8184, allocations: 182.2 kB / 0.7601 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.8184, allocations: 3.781 kB / 0.7601 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.8184, allocations: 5 kB / 0.7601 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.8184, allocations: 5 kB / 0.7601 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009547/0.8194, allocations: 0.859 MB / 0.761 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.8194, allocations: 2.266 kB / 0.761 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.8195, allocations: 26.17 kB / 0.761 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.8195, allocations: 2 kB / 0.761 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.8195, allocations: 5.812 kB / 0.761 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.8195, allocations: 1.984 kB / 0.761 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.8195, allocations: 2.344 kB / 0.761 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005431/0.8201, allocations: 348.1 kB / 0.7613 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.763e-05/0.8202, allocations: 107.5 kB / 0.7614 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.145e-05/0.8202, allocations: 7.656 kB / 0.7614 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.8204, allocations: 7.938 kB / 0.7615 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.8205, allocations: 12.12 kB / 0.7615 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/0.8205, allocations: 4.672 kB / 0.7615 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002788/0.8208, allocations: 236 kB / 0.7617 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8208, allocations: 0 / 0.7617 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004717/0.8212, allocations: 97.48 kB / 0.7618 GB, free: 14.04 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.0005426/0.8218, allocations: 224.4 kB / 0.762 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003986/0.8222, allocations: 152.7 kB / 0.7621 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.8222, allocations: 0.6875 kB / 0.7622 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.8224, allocations: 58.14 kB / 0.7622 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007262/0.8231, allocations: 140.3 kB / 0.7623 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008281/0.8239, allocations: 0.4923 MB / 0.7628 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.8243, allocations: 0.7564 MB / 0.7636 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002018/0.8245, allocations: 64.73 kB / 0.7636 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.503e-05/0.8246, allocations: 28.44 kB / 0.7636 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of SimCode: time 2.1e-07/0.8246, allocations: 1.203 kB / 0.7636 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of Templates: time 0.01087/0.8355, allocations: 5.791 MB / 0.7693 GB, free: 12.81 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 gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)