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.001906/0.001907, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00203/0.00203, allocations: 195.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.377/2.377, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.305/1.305, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002631/0.002631, allocations: 67.98 kB / 0.5019 GB, free: 3.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7183/0.721, allocations: 80.19 MB / 0.5802 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.3285/1.05, allocations: 163.2 MB / 0.7396 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01072/1.06, allocations: 4.578 MB / 0.7441 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/1.062, allocations: 11.94 kB / 0.7441 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009371/1.063, allocations: 123 kB / 0.7442 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003067/1.066, allocations: 0.5406 MB / 0.7447 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004006/1.07, allocations: 0.7723 MB / 0.7455 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001455/1.071, allocations: 0.5766 MB / 0.746 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006418/1.072, allocations: 217.1 kB / 0.7462 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001789/1.074, allocations: 466.2 kB / 0.7467 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001037/1.075, allocations: 286.9 kB / 0.747 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.821e-05/1.075, allocations: 16 kB / 0.747 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003282/1.078, allocations: 1.002 MB / 0.748 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001624/1.078, allocations: 91.72 kB / 0.748 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002866/1.079, allocations: 127.4 kB / 0.7482 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002208/1.081, allocations: 0.713 MB / 0.7489 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/1.081, allocations: 4 kB / 0.7489 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.635e-06/1.081, allocations: 0 / 0.7489 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.597e-05/1.081, allocations: 4 kB / 0.7489 GB, free: 4.227 MB / 0.5762 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.001207/1.082, allocations: 0.5841 MB / 0.7494 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/1.082, allocations: 8.031 kB / 0.7494 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.5e-05/1.082, allocations: 54.55 kB / 0.7495 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007412/1.083, allocations: 75.64 kB / 0.7496 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004766/1.084, allocations: 291.9 kB / 0.7499 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/1.084, allocations: 19.98 kB / 0.7499 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.935e-05/1.084, allocations: 20 kB / 0.7499 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005613/1.084, allocations: 287.3 kB / 0.7502 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/1.084, allocations: 0 / 0.7502 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.077e-05/1.084, allocations: 12 kB / 0.7502 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/1.084, allocations: 4 kB / 0.7502 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000487/1.085, allocations: 203.8 kB / 0.7504 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002016/1.087, allocations: 1.249 MB / 0.7516 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003511/1.087, allocations: 173 kB / 0.7518 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002291/1.087, allocations: 116.3 kB / 0.7519 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/1.088, allocations: 335.2 kB / 0.7522 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.137e-05/1.088, allocations: 30.56 kB / 0.7522 GB, free: 480 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 2.364e-06/1.088, allocations: 0 / 0.7522 GB, free: 480 kB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.001241/1.09, allocations: 281.4 kB / 0.7525 GB, free: 192 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000191/1.09, allocations: 162.2 kB / 0.7526 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004718/1.09, allocations: 290.9 kB / 0.7529 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/1.09, allocations: 29.7 kB / 0.7529 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/1.091, allocations: 151.8 kB / 0.7531 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.435e-05/1.091, allocations: 43.42 kB / 0.7531 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/1.091, allocations: 45.7 kB / 0.7532 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002242/1.091, allocations: 334.8 kB / 0.7535 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/1.091, allocations: 67.94 kB / 0.7536 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003563/1.092, allocations: 144.5 kB / 0.7537 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006633/1.092, allocations: 215.5 kB / 0.7539 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/1.092, allocations: 0 / 0.7539 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009023/1.093, allocations: 249.2 kB / 0.7541 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/1.093, allocations: 4 kB / 0.7541 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/1.093, allocations: 4 kB / 0.7541 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.641e-05/1.093, allocations: 4 kB / 0.7542 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/1.094, allocations: 35.97 kB / 0.7542 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.125e-05/1.094, allocations: 11.92 kB / 0.7542 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003761/1.094, allocations: 27.73 kB / 0.7542 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.928e-05/1.094, allocations: 16.36 kB / 0.7542 GB, free: 14.25 MB / 0.5919 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.0002829/1.095, allocations: 159.3 kB / 0.7544 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002935/1.095, allocations: 23.72 kB / 0.7544 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008865/1.096, allocations: 189.8 kB / 0.7546 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/1.096, allocations: 4 kB / 0.7546 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/1.096, allocations: 3.938 kB / 0.7546 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.467e-06/1.096, allocations: 4 kB / 0.7546 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/1.098, allocations: 0.851 MB / 0.7554 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/1.098, allocations: 0 / 0.7554 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/1.098, allocations: 27.92 kB / 0.7555 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/1.098, allocations: 0 / 0.7555 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/1.098, allocations: 4 kB / 0.7555 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.725e-06/1.098, allocations: 0 / 0.7555 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.098, allocations: 12.22 kB / 0.7555 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/1.099, allocations: 343.3 kB / 0.7558 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001905/1.1, allocations: 112.9 kB / 0.7559 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.363e-05/1.1, allocations: 11.92 kB / 0.7559 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003143/1.1, allocations: 8 kB / 0.7559 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.353e-05/1.1, allocations: 11.92 kB / 0.7559 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/1.1, allocations: 4 kB / 0.7559 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005135/1.101, allocations: 237.9 kB / 0.7562 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.21e-07/1.101, allocations: 4.062 kB / 0.7562 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001011/1.102, allocations: 95.83 kB / 0.7563 GB, free: 12.02 MB / 0.5919 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.002614/1.104, allocations: 0.9743 MB / 0.7572 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007341/1.105, allocations: 155.7 kB / 0.7574 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/1.105, allocations: 0 / 0.7574 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002959/1.106, allocations: 56.72 kB / 0.7574 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/1.107, allocations: 140 kB / 0.7576 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007529/1.115, allocations: 2.777 MB / 0.7603 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007802/1.115, allocations: 0.7597 MB / 0.761 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004785/1.116, allocations: 58.94 kB / 0.7611 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/1.116, allocations: 75.41 kB / 0.7611 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of SimCode: time 1.823e-06/1.116, allocations: 0 / 0.7611 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0518/1.168, allocations: 8.53 MB / 0.7695 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/13.5, allocations: 13.56 kB / 0.7695 GB, free: 14.47 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)