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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IDEAS_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.006928/0.006928, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001595/0.001595, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7641/0.7641, allocations: 132.2 MB / 422.7 MB, free: 6.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 68.39 kB / 0.5809 GB, free: 24.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1581, allocations: 80.22 MB / 0.6592 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.5998/0.758, allocations: 163.2 MB / 0.8186 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005467/0.7635, allocations: 4.576 MB / 0.8231 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000427/0.764, allocations: 9.719 kB / 0.8231 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004571/0.7645, allocations: 129.7 kB / 0.8232 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001315/0.7658, allocations: 0.5621 MB / 0.8238 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.7676, allocations: 0.7871 MB / 0.8245 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006563/0.7683, allocations: 0.5834 MB / 0.8251 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000332/0.7686, allocations: 209.7 kB / 0.8253 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009853/0.7696, allocations: 474.1 kB / 0.8257 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000534/0.7702, allocations: 294.6 kB / 0.826 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.235e-05/0.7702, allocations: 18.34 kB / 0.826 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00166/0.7719, allocations: 1.007 MB / 0.827 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.827e-05/0.772, allocations: 87.77 kB / 0.8271 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.7721, allocations: 118.9 kB / 0.8272 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.7732, allocations: 0.7316 MB / 0.8279 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.7732, allocations: 4 kB / 0.8279 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7732, allocations: 0 / 0.8279 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.7732, allocations: 0 / 0.8279 GB, free: 2.582 MB / 0.5919 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.0009422/0.7742, allocations: 0.6122 MB / 0.8285 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.7742, allocations: 7.781 kB / 0.8285 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.059e-05/0.7743, allocations: 54.14 kB / 0.8286 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006571/0.7749, allocations: 75.69 kB / 0.8287 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004329/0.7754, allocations: 298.1 kB / 0.829 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.7754, allocations: 11.44 kB / 0.829 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.516e-05/0.7755, allocations: 20.31 kB / 0.829 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004905/0.776, allocations: 289.4 kB / 0.8293 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.776, allocations: 3.938 kB / 0.8293 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.776, allocations: 6.094 kB / 0.8293 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.776, allocations: 9.234 kB / 0.8293 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004166/0.7764, allocations: 217.2 kB / 0.8295 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.778, allocations: 1.239 MB / 0.8307 GB, free: 188 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.7783, allocations: 178.6 kB / 0.8309 GB, free: 12 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.7785, allocations: 105.6 kB / 0.831 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000734/0.7793, allocations: 329.2 kB / 0.8313 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.7793, allocations: 41.19 kB / 0.8313 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 3.256e-06/0.7793, allocations: 4 kB / 0.8313 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0007562/0.7801, allocations: 274.9 kB / 0.8316 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.264e-05/0.7802, allocations: 164.9 kB / 0.8317 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.7805, allocations: 286.7 kB / 0.832 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.7805, allocations: 33.27 kB / 0.832 GB, free: 15 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.7807, allocations: 149.7 kB / 0.8322 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.726e-05/0.7807, allocations: 53.34 kB / 0.8322 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.478e-05/0.7808, allocations: 42.61 kB / 0.8323 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.7809, allocations: 332.6 kB / 0.8326 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.7811, allocations: 69.31 kB / 0.8327 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.7814, allocations: 146.6 kB / 0.8328 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003586/0.7817, allocations: 206.2 kB / 0.833 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.7817, allocations: 2.844 kB / 0.833 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005058/0.7823, allocations: 246.3 kB / 0.8332 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.7823, allocations: 5.281 kB / 0.8332 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.7823, allocations: 2.562 kB / 0.8332 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.7823, allocations: 2.469 kB / 0.8332 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.7825, allocations: 46.12 kB / 0.8333 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.7825, allocations: 6.5 kB / 0.8333 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.7827, allocations: 38.2 kB / 0.8333 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.7828, allocations: 10.53 kB / 0.8333 GB, free: 13.97 MB / 0.6075 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.000151/0.7829, allocations: 152.5 kB / 0.8335 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.7831, allocations: 24.3 kB / 0.8335 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004617/0.7835, allocations: 197.3 kB / 0.8337 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.7836, allocations: 2.688 kB / 0.8337 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.7836, allocations: 3.938 kB / 0.8337 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.7836, allocations: 2.406 kB / 0.8337 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.7846, allocations: 0.8566 MB / 0.8345 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.7846, allocations: 2.562 kB / 0.8345 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.7848, allocations: 25.08 kB / 0.8346 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.7848, allocations: 2.594 kB / 0.8346 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.7848, allocations: 2.969 kB / 0.8346 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.7848, allocations: 4 kB / 0.8346 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.7848, allocations: 2.344 kB / 0.8346 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000604/0.7854, allocations: 345.2 kB / 0.8349 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.7855, allocations: 114.9 kB / 0.835 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.335e-05/0.7856, allocations: 4.562 kB / 0.835 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.7858, allocations: 4.844 kB / 0.835 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.7858, allocations: 12.7 kB / 0.835 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.7858, allocations: 5.688 kB / 0.835 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002378/0.7861, allocations: 239.5 kB / 0.8353 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7861, allocations: 0 / 0.8353 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005448/0.7866, allocations: 99.42 kB / 0.8354 GB, free: 12.26 MB / 0.6075 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.001458/0.7881, allocations: 1.001 MB / 0.8364 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004402/0.7886, allocations: 146.9 kB / 0.8365 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.7886, allocations: 0 / 0.8365 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.7887, allocations: 61.09 kB / 0.8365 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008594/0.7896, allocations: 139.6 kB / 0.8367 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003689/0.7933, allocations: 2.754 MB / 0.8394 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.7937, allocations: 0.7608 MB / 0.8401 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002525/0.794, allocations: 66.03 kB / 0.8402 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.7941, allocations: 78 kB / 0.8403 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of SimCode: time 9.81e-07/0.7941, allocations: 4 kB / 0.8403 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02894/0.8231, allocations: 8.602 MB / 0.8487 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.053/8.877, allocations: 4.938 kB / 0.8487 GB, free: 3.766 MB / 0.6075 GB (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)