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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001649/0.001648, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002015/0.002015, allocations: 190.8 kB / 16.25 MB, free: 6.645 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.665/1.665, allocations: 222.9 MB / 239.9 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.031/1.031, allocations: 135.1 MB / 425.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 64.8 kB / 0.505 GB, free: 5.547 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1648, allocations: 80.93 MB / 0.584 GB, free: 4.785 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.7875/0.9524, allocations: 161 MB / 0.7412 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01061/0.9631, allocations: 4.542 MB / 0.7456 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009245/0.964, allocations: 9.438 kB / 0.7457 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008687/0.9649, allocations: 103.9 kB / 0.7457 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002798/0.9678, allocations: 0.5062 MB / 0.7462 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003543/0.9714, allocations: 0.7196 MB / 0.7469 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001439/0.9728, allocations: 0.5804 MB / 0.7475 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006572/0.9735, allocations: 203.6 kB / 0.7477 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001819/0.9754, allocations: 461.6 kB / 0.7481 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.9764, allocations: 294.9 kB / 0.7484 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.819e-05/0.9765, allocations: 17.91 kB / 0.7484 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003001/0.9795, allocations: 1.05 MB / 0.7495 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000191/0.9797, allocations: 93.08 kB / 0.7496 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002644/0.98, allocations: 130.5 kB / 0.7497 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002163/0.9822, allocations: 0.776 MB / 0.7504 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.9822, allocations: 0 / 0.7504 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.974e-06/0.9822, allocations: 0 / 0.7504 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.595e-05/0.9822, allocations: 0 / 0.7504 GB, free: 2.184 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.001743/0.984, allocations: 0.5891 MB / 0.751 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 8.256e-05/0.9841, allocations: 11.03 kB / 0.751 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001241/0.9842, allocations: 59.05 kB / 0.7511 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.9853, allocations: 71 kB / 0.7512 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006288/0.986, allocations: 295.8 kB / 0.7514 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.986, allocations: 12.03 kB / 0.7514 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.465e-05/0.9861, allocations: 21.16 kB / 0.7515 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008331/0.9869, allocations: 275.1 kB / 0.7517 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.987, allocations: 7.938 kB / 0.7517 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.175e-05/0.987, allocations: 15.2 kB / 0.7518 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.9871, allocations: 4.812 kB / 0.7518 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006448/0.9877, allocations: 204.4 kB / 0.752 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002524/0.9902, allocations: 1.247 MB / 0.7532 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004469/0.9907, allocations: 181.7 kB / 0.7533 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002966/0.991, allocations: 108.4 kB / 0.7534 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/0.9922, allocations: 335.1 kB / 0.7538 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.9922, allocations: 34.56 kB / 0.7538 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 2.835e-06/0.9922, allocations: 4 kB / 0.7538 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.001186/0.9934, allocations: 277.1 kB / 0.7541 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.9936, allocations: 162.2 kB / 0.7542 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004417/0.994, allocations: 283.5 kB / 0.7545 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.9941, allocations: 29.7 kB / 0.7545 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.9942, allocations: 151.8 kB / 0.7547 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.095e-05/0.9943, allocations: 55.28 kB / 0.7547 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.9945, allocations: 41.7 kB / 0.7548 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.9947, allocations: 334.8 kB / 0.7551 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/0.9949, allocations: 71.88 kB / 0.7551 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003631/0.9953, allocations: 146.7 kB / 0.7553 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006032/0.9959, allocations: 207.5 kB / 0.7555 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.9959, allocations: 0 / 0.7555 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000826/0.9968, allocations: 245.1 kB / 0.7557 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.9968, allocations: 4 kB / 0.7557 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.9968, allocations: 4 kB / 0.7557 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.9969, allocations: 7.938 kB / 0.7557 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.9972, allocations: 43.91 kB / 0.7558 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.9972, allocations: 4 kB / 0.7558 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003492/0.9975, allocations: 35.92 kB / 0.7558 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.064e-05/0.9976, allocations: 12 kB / 0.7558 GB, free: 12.87 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.0002226/0.9979, allocations: 145.8 kB / 0.756 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002659/0.9981, allocations: 23.72 kB / 0.756 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000728/0.9989, allocations: 194.3 kB / 0.7562 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.9989, allocations: 4.047 kB / 0.7562 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.9989, allocations: 3.984 kB / 0.7562 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.9989, allocations: 7.938 kB / 0.7562 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/1, allocations: 0.8472 MB / 0.757 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/1, allocations: 7.938 kB / 0.757 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/1.001, allocations: 27.92 kB / 0.757 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/1.001, allocations: 4.156 kB / 0.757 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/1.001, allocations: 4 kB / 0.7571 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.705e-06/1.001, allocations: 4 kB / 0.7571 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.001, allocations: 0 / 0.7571 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008437/1.002, allocations: 331.4 kB / 0.7574 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/1.002, allocations: 124.7 kB / 0.7575 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.189e-05/1.002, allocations: 4 kB / 0.7575 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000268/1.002, allocations: 4 kB / 0.7575 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.238e-05/1.002, allocations: 20.05 kB / 0.7575 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/1.002, allocations: 3.938 kB / 0.7575 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000359/1.003, allocations: 233.9 kB / 0.7577 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/1.003, allocations: 0 / 0.7577 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008368/1.004, allocations: 99.98 kB / 0.7578 GB, free: 10.66 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.001979/1.006, allocations: 1.001 MB / 0.7588 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006214/1.006, allocations: 151.7 kB / 0.759 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.006, allocations: 0.5 kB / 0.759 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002339/1.006, allocations: 59.89 kB / 0.759 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/1.008, allocations: 136.9 kB / 0.7592 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005969/1.014, allocations: 2.817 MB / 0.7619 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000591/1.014, allocations: 0.7558 MB / 0.7626 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004174/1.015, allocations: 71.73 kB / 0.7627 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/1.015, allocations: 75.41 kB / 0.7628 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of SimCode: time 1.012e-06/1.015, allocations: 0 / 0.7628 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7834/1.798, allocations: 8.388 MB / 0.771 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003591/1.799, allocations: 242.4 kB / 0.7712 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.196/4.995, allocations: 0 / 0.7712 GB, free: 12.98 MB / 0.5919 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEntropy.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)