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.006905/0.006905, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001827/0.001827, allocations: 198.1 kB / 16.68 MB, free: 5.973 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.944/0.944, allocations: 135.6 MB / 426.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001923, allocations: 67.89 kB / 0.5858 GB, free: 3.223 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.4003, allocations: 81.02 MB / 0.6649 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.1905/0.5909, allocations: 163.2 MB / 0.8243 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00698/0.5979, allocations: 4.575 MB / 0.8288 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005086/0.5985, allocations: 15.94 kB / 0.8288 GB, free: 8.488 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006101/0.5991, allocations: 131 kB / 0.8289 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001684/0.6008, allocations: 0.5406 MB / 0.8294 GB, free: 7.816 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002224/0.6031, allocations: 0.7659 MB / 0.8302 GB, free: 7.051 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0009485/0.604, allocations: 0.5768 MB / 0.8307 GB, free: 6.473 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004153/0.6044, allocations: 217.2 kB / 0.8309 GB, free: 6.258 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001212/0.6057, allocations: 454.3 kB / 0.8314 GB, free: 5.812 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000661/0.6063, allocations: 302.3 kB / 0.8317 GB, free: 5.52 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.358e-05/0.6064, allocations: 20 kB / 0.8317 GB, free: 5.5 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001958/0.6084, allocations: 0.9977 MB / 0.8327 GB, free: 4.5 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.6085, allocations: 87.78 kB / 0.8327 GB, free: 4.414 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.6087, allocations: 131.3 kB / 0.8329 GB, free: 4.285 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.6099, allocations: 0.7179 MB / 0.8336 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.6099, allocations: 3.984 kB / 0.8336 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6099, allocations: 0 / 0.8336 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.6099, allocations: 0 / 0.8336 GB, free: 3.562 MB / 0.6544 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.001078/0.611, allocations: 0.6067 MB / 0.8342 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.6111, allocations: 8.031 kB / 0.8342 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.705e-05/0.6111, allocations: 54.53 kB / 0.8342 GB, free: 2.836 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006619/0.6118, allocations: 75.78 kB / 0.8343 GB, free: 2.762 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000444/0.6123, allocations: 299.5 kB / 0.8346 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.6123, allocations: 16 kB / 0.8346 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.952e-05/0.6123, allocations: 20 kB / 0.8346 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005198/0.6129, allocations: 287.4 kB / 0.8349 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.6129, allocations: 0 / 0.8349 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.6129, allocations: 12 kB / 0.8349 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.6129, allocations: 4 kB / 0.8349 GB, free: 2.07 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004289/0.6134, allocations: 203.7 kB / 0.8351 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.615, allocations: 1.234 MB / 0.8363 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003068/0.6153, allocations: 180.9 kB / 0.8365 GB, free: 340 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/0.6155, allocations: 116.2 kB / 0.8366 GB, free: 208 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007566/0.6163, allocations: 335.2 kB / 0.8369 GB, free: 15.82 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.6164, allocations: 42.69 kB / 0.837 GB, free: 15.77 MB / 0.67 GB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.6164, allocations: 0 / 0.837 GB, free: 15.77 MB / 0.67 GB Notification: Performance of matching and sorting (n=13): time 0.0007781/0.6171, allocations: 278 kB / 0.8372 GB, free: 15.49 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.6173, allocations: 162.1 kB / 0.8374 GB, free: 15.3 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003046/0.6176, allocations: 287 kB / 0.8376 GB, free: 15.02 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.6176, allocations: 33.8 kB / 0.8377 GB, free: 14.98 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.6177, allocations: 151.8 kB / 0.8378 GB, free: 14.82 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.384e-05/0.6178, allocations: 39.64 kB / 0.8379 GB, free: 14.79 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.909e-05/0.6179, allocations: 41.7 kB / 0.8379 GB, free: 14.74 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.618, allocations: 342.8 kB / 0.8382 GB, free: 14.39 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.6182, allocations: 67.94 kB / 0.8383 GB, free: 14.33 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.6185, allocations: 136.5 kB / 0.8384 GB, free: 14.16 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003837/0.6188, allocations: 211.5 kB / 0.8386 GB, free: 13.93 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.6189, allocations: 4 kB / 0.8386 GB, free: 13.93 MB / 0.67 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000517/0.6194, allocations: 245.2 kB / 0.8389 GB, free: 13.68 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.6194, allocations: 8.25 kB / 0.8389 GB, free: 13.67 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.6194, allocations: 7.984 kB / 0.8389 GB, free: 13.66 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.6195, allocations: 4 kB / 0.8389 GB, free: 13.66 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.6196, allocations: 39.86 kB / 0.8389 GB, free: 13.62 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.6197, allocations: 4 kB / 0.8389 GB, free: 13.62 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.6198, allocations: 35.77 kB / 0.839 GB, free: 13.58 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.6199, allocations: 8 kB / 0.839 GB, free: 13.57 MB / 0.67 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.0001615/0.6201, allocations: 149.8 kB / 0.8391 GB, free: 13.42 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.6202, allocations: 27.86 kB / 0.8391 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004815/0.6207, allocations: 189.8 kB / 0.8393 GB, free: 13.19 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.6207, allocations: 11.92 kB / 0.8393 GB, free: 13.18 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6207, allocations: 0 / 0.8393 GB, free: 13.18 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.6207, allocations: 4 kB / 0.8393 GB, free: 13.17 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.6218, allocations: 0.8588 MB / 0.8402 GB, free: 12.24 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.6218, allocations: 4 kB / 0.8402 GB, free: 12.23 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.622, allocations: 19.98 kB / 0.8402 GB, free: 12.21 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.982e-06/0.622, allocations: 4 kB / 0.8402 GB, free: 12.21 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.622, allocations: 0 / 0.8402 GB, free: 12.21 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.622, allocations: 7.938 kB / 0.8402 GB, free: 12.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.622, allocations: 0 / 0.8402 GB, free: 12.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005805/0.6226, allocations: 347.6 kB / 0.8405 GB, free: 11.83 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 9.71e-05/0.6227, allocations: 108.9 kB / 0.8406 GB, free: 11.71 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.988e-05/0.6227, allocations: 12.06 kB / 0.8407 GB, free: 11.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.6229, allocations: 7.984 kB / 0.8407 GB, free: 11.69 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.623, allocations: 7.984 kB / 0.8407 GB, free: 11.68 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.623, allocations: 8 kB / 0.8407 GB, free: 11.67 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000245/0.6232, allocations: 233.9 kB / 0.8409 GB, free: 11.45 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6232, allocations: 0 / 0.8409 GB, free: 11.45 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004659/0.6237, allocations: 99.75 kB / 0.841 GB, free: 11.35 MB / 0.67 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.00129/0.625, allocations: 0.9971 MB / 0.842 GB, free: 10.32 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004033/0.6254, allocations: 155.8 kB / 0.8421 GB, free: 10.17 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6254, allocations: 0 / 0.8421 GB, free: 10.17 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.6256, allocations: 55.91 kB / 0.8422 GB, free: 10.11 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007415/0.6263, allocations: 132.1 kB / 0.8423 GB, free: 9.988 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003485/0.6298, allocations: 2.778 MB / 0.845 GB, free: 7.055 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.6302, allocations: 0.7558 MB / 0.8457 GB, free: 6.273 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001838/0.6304, allocations: 62.83 kB / 0.8458 GB, free: 6.211 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.6305, allocations: 75.41 kB / 0.8459 GB, free: 6.137 MB / 0.67 GB Notification: Performance of SimCode: time 3.21e-07/0.6305, allocations: 0 / 0.8459 GB, free: 6.137 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03274/0.6633, allocations: 8.613 MB / 0.8543 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.202/8.866, allocations: 14.97 kB / 0.8543 GB, free: 13.67 MB / 0.6856 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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Sensors_Examples_SpecificEntropy.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)