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.005815/0.005815, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001441/0.001441, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.411/1.411, 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.8311/0.8311, allocations: 132.2 MB / 422.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 75.86 kB / 0.5809 GB, free: 24.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1531, allocations: 80.21 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.5296/0.6828, allocations: 163.2 MB / 0.8186 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005896/0.6887, allocations: 4.582 MB / 0.8231 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004386/0.6892, allocations: 11.56 kB / 0.8231 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004784/0.6897, allocations: 123.2 kB / 0.8232 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001325/0.6911, allocations: 0.537 MB / 0.8237 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.6929, allocations: 0.7787 MB / 0.8245 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006714/0.6936, allocations: 0.5787 MB / 0.8251 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003377/0.694, allocations: 202.8 kB / 0.8252 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009452/0.6949, allocations: 463.1 kB / 0.8257 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005469/0.6955, allocations: 291.4 kB / 0.826 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.394e-05/0.6955, allocations: 21.81 kB / 0.826 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001582/0.6971, allocations: 1.002 MB / 0.827 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.6972, allocations: 89.33 kB / 0.8271 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.6974, allocations: 125.2 kB / 0.8272 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.6984, allocations: 0.72 MB / 0.8279 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.6984, allocations: 4 kB / 0.8279 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6984, allocations: 2.75 kB / 0.8279 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.6985, allocations: 0 / 0.8279 GB, free: 2.523 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.0009316/0.6994, allocations: 0.6128 MB / 0.8285 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.6994, allocations: 10 kB / 0.8285 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.299e-05/0.6995, allocations: 52.2 kB / 0.8285 GB, free: 1.906 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000618/0.7001, allocations: 81.14 kB / 0.8286 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004287/0.7006, allocations: 290.3 kB / 0.8289 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.7006, allocations: 15.41 kB / 0.8289 GB, free: 1.586 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.21e-05/0.7007, allocations: 19.25 kB / 0.8289 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005099/0.7012, allocations: 294.5 kB / 0.8292 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.7012, allocations: 10.59 kB / 0.8292 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.7012, allocations: 6.062 kB / 0.8292 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.7012, allocations: 5.375 kB / 0.8292 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004425/0.7017, allocations: 206.5 kB / 0.8294 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.7034, allocations: 1.238 MB / 0.8306 GB, free: 128 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003563/0.7038, allocations: 181.6 kB / 0.8308 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.704, allocations: 113 kB / 0.8309 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007587/0.7048, allocations: 329.1 kB / 0.8312 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/0.7048, allocations: 45.25 kB / 0.8313 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.7048, allocations: 3.938 kB / 0.8313 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0007814/0.7056, allocations: 271.5 kB / 0.8315 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.7057, allocations: 168.7 kB / 0.8317 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003164/0.7061, allocations: 287.4 kB / 0.832 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.7061, allocations: 29.7 kB / 0.832 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.7063, allocations: 148.6 kB / 0.8321 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.496e-05/0.7063, allocations: 48.72 kB / 0.8322 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.607e-05/0.7064, allocations: 39.52 kB / 0.8322 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.7066, allocations: 338.1 kB / 0.8325 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.7067, allocations: 67.23 kB / 0.8326 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.707, allocations: 142.7 kB / 0.8327 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003775/0.7074, allocations: 210.5 kB / 0.8329 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.7074, allocations: 0 / 0.8329 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005237/0.7079, allocations: 248.8 kB / 0.8332 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.7079, allocations: 4.719 kB / 0.8332 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.7079, allocations: 2.969 kB / 0.8332 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.708, allocations: 7 kB / 0.8332 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.7082, allocations: 41.5 kB / 0.8332 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.7082, allocations: 9.672 kB / 0.8332 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.7084, allocations: 33.89 kB / 0.8333 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/0.7084, allocations: 13.84 kB / 0.8333 GB, free: 13.91 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.0001462/0.7086, allocations: 144.7 kB / 0.8334 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.7087, allocations: 32.5 kB / 0.8335 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004638/0.7092, allocations: 186.6 kB / 0.8336 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.7092, allocations: 0 / 0.8336 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.7092, allocations: 11.38 kB / 0.8337 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.7092, allocations: 2.219 kB / 0.8337 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.7103, allocations: 0.861 MB / 0.8345 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.7103, allocations: 0 / 0.8345 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.7104, allocations: 22.8 kB / 0.8345 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.7104, allocations: 6.234 kB / 0.8345 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.7104, allocations: 6.781 kB / 0.8345 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.7104, allocations: 5.75 kB / 0.8345 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.7105, allocations: 2.844 kB / 0.8345 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000583/0.711, allocations: 339.6 kB / 0.8349 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.7112, allocations: 113.1 kB / 0.835 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.338e-05/0.7112, allocations: 10.52 kB / 0.835 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.7114, allocations: 17.02 kB / 0.835 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.7114, allocations: 9.281 kB / 0.835 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.7114, allocations: 2.469 kB / 0.835 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000245/0.7117, allocations: 238.5 kB / 0.8352 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7117, allocations: 0 / 0.8352 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000464/0.7122, allocations: 94.81 kB / 0.8353 GB, free: 12.19 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.001321/0.7135, allocations: 0.9965 MB / 0.8363 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000397/0.7139, allocations: 146.8 kB / 0.8364 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7139, allocations: 0 / 0.8364 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.7141, allocations: 63.14 kB / 0.8365 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007433/0.7148, allocations: 131.8 kB / 0.8366 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003502/0.7183, allocations: 2.767 MB / 0.8393 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.7188, allocations: 0.7565 MB / 0.8401 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000187/0.719, allocations: 66.2 kB / 0.8401 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.7191, allocations: 74.88 kB / 0.8402 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of SimCode: time 5.71e-07/0.7191, allocations: 3.938 kB / 0.8402 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03215/0.7513, allocations: 8.607 MB / 0.8486 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.108/8.859, allocations: 2.031 kB / 0.8486 GB, free: 3.703 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)