Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",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.005262/0.005262, allocations: 95.7 kB / 15.73 MB, free: 6.039 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.001292/0.001292, allocations: 197.3 kB / 16.68 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9723/0.9723, allocations: 135.1 MB / 425.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 63.91 kB / 0.5851 GB, free: 3.859 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4419/0.4434, allocations: 80.92 MB / 0.6642 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1969/0.6403, allocations: 169.4 MB / 0.8296 GB, free: 7.527 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.008868/0.6492, allocations: 7.129 MB / 0.8366 GB, free: 392 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006096/0.6499, allocations: 11.94 kB / 0.8366 GB, free: 380 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006256/0.6505, allocations: 182.7 kB / 0.8368 GB, free: 196 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00333/0.6539, allocations: 1.307 MB / 0.8381 GB, free: 14.88 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.6556, allocations: 0.6275 MB / 0.8387 GB, free: 14.25 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0008938/0.6565, allocations: 0.7679 MB / 0.8394 GB, free: 13.48 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004383/0.6569, allocations: 294.3 kB / 0.8397 GB, free: 13.2 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.6581, allocations: 0.5916 MB / 0.8403 GB, free: 12.61 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007679/0.6589, allocations: 418.5 kB / 0.8407 GB, free: 12.2 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.911e-05/0.6589, allocations: 28 kB / 0.8407 GB, free: 12.17 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002266/0.6612, allocations: 1.251 MB / 0.8419 GB, free: 10.92 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.6614, allocations: 123.6 kB / 0.842 GB, free: 10.8 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000247/0.6617, allocations: 175.1 kB / 0.8422 GB, free: 10.62 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002097/0.6638, allocations: 0.9126 MB / 0.8431 GB, free: 9.711 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.6638, allocations: 0 / 0.8431 GB, free: 9.711 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.294e-06/0.6638, allocations: 0 / 0.8431 GB, free: 9.711 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.6638, allocations: 0 / 0.8431 GB, free: 9.711 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001239/0.6651, allocations: 0.7042 MB / 0.8438 GB, free: 8.953 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.6651, allocations: 16.03 kB / 0.8438 GB, free: 8.938 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.614e-05/0.6652, allocations: 62.55 kB / 0.8439 GB, free: 8.867 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.6662, allocations: 131.6 kB / 0.844 GB, free: 8.738 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000633/0.6669, allocations: 349.4 kB / 0.8443 GB, free: 8.355 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.463e-05/0.6669, allocations: 46.27 kB / 0.8444 GB, free: 8.305 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.402e-05/0.667, allocations: 24 kB / 0.8444 GB, free: 8.281 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007236/0.6677, allocations: 370.1 kB / 0.8447 GB, free: 7.902 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.6678, allocations: 3.984 kB / 0.8448 GB, free: 7.898 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.656e-05/0.6678, allocations: 19.94 kB / 0.8448 GB, free: 7.879 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.6678, allocations: 11.94 kB / 0.8448 GB, free: 7.867 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005625/0.6684, allocations: 266 kB / 0.845 GB, free: 7.609 MB / 0.67 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00189/0.6703, allocations: 1.488 MB / 0.8465 GB, free: 5.992 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003942/0.6707, allocations: 202.5 kB / 0.8467 GB, free: 5.785 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.6709, allocations: 120.8 kB / 0.8468 GB, free: 5.664 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009433/0.6719, allocations: 0.5052 MB / 0.8473 GB, free: 5.066 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.6719, allocations: 34.5 kB / 0.8473 GB, free: 5.023 MB / 0.67 GB Notification: Performance of pre-optimization done (n=15): time 2.174e-06/0.6719, allocations: 0 / 0.8473 GB, free: 5.023 MB / 0.67 GB Notification: Performance of matching and sorting (n=15): time 0.0009763/0.6729, allocations: 360.1 kB / 0.8477 GB, free: 4.668 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.673, allocations: 55.34 kB / 0.8477 GB, free: 4.602 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003104/0.6733, allocations: 320.5 kB / 0.848 GB, free: 4.281 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.6733, allocations: 29.7 kB / 0.8481 GB, free: 4.246 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.6734, allocations: 184.3 kB / 0.8482 GB, free: 4.062 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.757e-05/0.6735, allocations: 55.53 kB / 0.8483 GB, free: 4.008 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.008e-05/0.6736, allocations: 37.7 kB / 0.8483 GB, free: 3.965 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.6737, allocations: 350.7 kB / 0.8487 GB, free: 3.613 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.6739, allocations: 83.94 kB / 0.8487 GB, free: 3.531 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.6741, allocations: 153.8 kB / 0.8489 GB, free: 3.359 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003995/0.6746, allocations: 233.8 kB / 0.8491 GB, free: 3.109 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6746, allocations: 0 / 0.8491 GB, free: 3.109 MB / 0.67 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005783/0.6751, allocations: 291.8 kB / 0.8494 GB, free: 2.82 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.6752, allocations: 8 kB / 0.8494 GB, free: 2.812 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.6752, allocations: 0 / 0.8494 GB, free: 2.812 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.6752, allocations: 4 kB / 0.8494 GB, free: 2.809 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.6754, allocations: 35.97 kB / 0.8494 GB, free: 2.773 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.6755, allocations: 4 kB / 0.8494 GB, free: 2.77 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.6757, allocations: 36.02 kB / 0.8495 GB, free: 2.734 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.6757, allocations: 11.94 kB / 0.8495 GB, free: 2.723 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0001524/0.6759, allocations: 157.7 kB / 0.8496 GB, free: 2.559 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.676, allocations: 31.8 kB / 0.8497 GB, free: 2.527 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000766/0.6768, allocations: 316.1 kB / 0.85 GB, free: 2.215 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.6768, allocations: 4 kB / 0.85 GB, free: 2.211 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6768, allocations: 3.938 kB / 0.85 GB, free: 2.207 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.6768, allocations: 3.938 kB / 0.85 GB, free: 2.203 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/0.6782, allocations: 0.8084 MB / 0.8508 GB, free: 1.316 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.6782, allocations: 3.938 kB / 0.8508 GB, free: 1.312 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.6784, allocations: 31.98 kB / 0.8508 GB, free: 1.281 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.6784, allocations: 4 kB / 0.8508 GB, free: 1.277 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.87e-05/0.6784, allocations: 7.984 kB / 0.8508 GB, free: 1.27 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.6784, allocations: 3.984 kB / 0.8508 GB, free: 1.266 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.6784, allocations: 7.938 kB / 0.8508 GB, free: 1.258 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005753/0.679, allocations: 409.3 kB / 0.8512 GB, free: 0.8203 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.6792, allocations: 136.8 kB / 0.8513 GB, free: 0.668 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.646e-05/0.6792, allocations: 7.984 kB / 0.8513 GB, free: 0.6602 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002396/0.6795, allocations: 19.92 kB / 0.8514 GB, free: 0.6406 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/0.6795, allocations: 11.98 kB / 0.8514 GB, free: 0.6289 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/0.6796, allocations: 12 kB / 0.8514 GB, free: 0.6172 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002106/0.6798, allocations: 231 kB / 0.8516 GB, free: 400 kB / 0.67 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6798, allocations: 0 / 0.8516 GB, free: 400 kB / 0.67 GB Notification: Performance of remove unused functions: time 0.0005875/0.6804, allocations: 123.7 kB / 0.8517 GB, free: 276 kB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (16): * Single equations (assignments): 16 * 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.001575/0.682, allocations: 1.058 MB / 0.8528 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004836/0.6825, allocations: 219.7 kB / 0.853 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.6825, allocations: 0 / 0.853 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002142/0.6827, allocations: 115.8 kB / 0.8531 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008496/0.6836, allocations: 165.5 kB / 0.8532 GB, free: 14.69 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00365/0.6872, allocations: 3.05 MB / 0.8562 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.6876, allocations: 0.7873 MB / 0.857 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002583/0.6878, allocations: 94.84 kB / 0.8571 GB, free: 10.58 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/0.688, allocations: 99.39 kB / 0.8572 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of SimCode: time 3.3e-07/0.688, allocations: 0 / 0.8572 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02721/0.7152, allocations: 10.5 MB / 0.8674 GB, free: 160 kB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.154/8.869, allocations: 10.5 kB / 0.8674 GB, free: 152 kB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate_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_EntropyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)