Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.EntropyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IDEAS_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.004666/0.004666, allocations: 95.39 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.001251/0.001251, allocations: 198.9 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7643/0.7643, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 59.91 kB / 0.5809 GB, free: 8.043 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.4027, allocations: 80.21 MB / 0.6592 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2104/0.6131, allocations: 169.4 MB / 0.8247 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.009484/0.6227, allocations: 7.144 MB / 0.8316 GB, free: 4.977 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004753/0.6232, allocations: 11.94 kB / 0.8317 GB, free: 4.965 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006164/0.6238, allocations: 170.8 kB / 0.8318 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003283/0.6272, allocations: 1.26 MB / 0.8331 GB, free: 3.531 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001705/0.6289, allocations: 0.6312 MB / 0.8337 GB, free: 2.902 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001142/0.63, allocations: 0.7602 MB / 0.8344 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005966/0.6306, allocations: 290.8 kB / 0.8347 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001365/0.632, allocations: 0.572 MB / 0.8352 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009847/0.633, allocations: 418.5 kB / 0.8356 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.84e-05/0.6331, allocations: 32 kB / 0.8357 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002445/0.6356, allocations: 1.247 MB / 0.8369 GB, free: 15.59 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.6357, allocations: 123.6 kB / 0.837 GB, free: 15.47 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002481/0.636, allocations: 175.1 kB / 0.8372 GB, free: 15.3 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001837/0.6378, allocations: 0.9072 MB / 0.8381 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.6379, allocations: 0 / 0.8381 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd: time 5.039e-06/0.6379, allocations: 4 kB / 0.8381 GB, free: 14.39 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.787e-05/0.6379, allocations: 3.938 kB / 0.8381 GB, free: 14.38 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.001278/0.6392, allocations: 0.7081 MB / 0.8388 GB, free: 13.62 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.6392, allocations: 8.031 kB / 0.8388 GB, free: 13.61 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.682e-05/0.6393, allocations: 66.53 kB / 0.8388 GB, free: 13.54 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.6403, allocations: 131.5 kB / 0.839 GB, free: 13.41 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006134/0.641, allocations: 341.4 kB / 0.8393 GB, free: 13.04 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.541e-05/0.6411, allocations: 50.27 kB / 0.8393 GB, free: 12.98 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.396e-05/0.6411, allocations: 24 kB / 0.8394 GB, free: 12.96 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007163/0.6418, allocations: 370.1 kB / 0.8397 GB, free: 12.58 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.6419, allocations: 4 kB / 0.8397 GB, free: 12.58 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.844e-05/0.6419, allocations: 15.94 kB / 0.8397 GB, free: 12.56 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.6419, allocations: 11.94 kB / 0.8397 GB, free: 12.55 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005597/0.6425, allocations: 270 kB / 0.84 GB, free: 12.29 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.0021/0.6446, allocations: 1.488 MB / 0.8414 GB, free: 10.67 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004183/0.645, allocations: 202.5 kB / 0.8416 GB, free: 10.46 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002362/0.6453, allocations: 116.8 kB / 0.8418 GB, free: 10.35 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009835/0.6463, allocations: 0.5014 MB / 0.8422 GB, free: 9.754 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.6463, allocations: 38.55 kB / 0.8423 GB, free: 9.707 MB / 0.67 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.6463, allocations: 0 / 0.8423 GB, free: 9.707 MB / 0.67 GB Notification: Performance of matching and sorting (n=15): time 0.0009956/0.6473, allocations: 361.2 kB / 0.8426 GB, free: 9.348 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.6474, allocations: 55.34 kB / 0.8427 GB, free: 9.281 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003746/0.6478, allocations: 316.5 kB / 0.843 GB, free: 8.973 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.6478, allocations: 33.7 kB / 0.843 GB, free: 8.934 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.648, allocations: 184.3 kB / 0.8432 GB, free: 8.75 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.664e-05/0.648, allocations: 63.45 kB / 0.8432 GB, free: 8.688 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.6482, allocations: 45.7 kB / 0.8433 GB, free: 8.637 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.6483, allocations: 342.8 kB / 0.8436 GB, free: 8.293 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.6486, allocations: 83.92 kB / 0.8437 GB, free: 8.211 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/0.6488, allocations: 145.9 kB / 0.8438 GB, free: 8.047 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004474/0.6493, allocations: 241 kB / 0.8441 GB, free: 7.793 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.6493, allocations: 4 kB / 0.8441 GB, free: 7.789 MB / 0.67 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006194/0.6499, allocations: 281.2 kB / 0.8443 GB, free: 7.508 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.65, allocations: 4 kB / 0.8443 GB, free: 7.504 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.65, allocations: 4 kB / 0.8443 GB, free: 7.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.65, allocations: 0 / 0.8443 GB, free: 7.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.6502, allocations: 47.91 kB / 0.8444 GB, free: 7.453 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.986e-06/0.6502, allocations: 8.188 kB / 0.8444 GB, free: 7.445 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.6504, allocations: 31.83 kB / 0.8444 GB, free: 7.414 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/0.6505, allocations: 11.94 kB / 0.8444 GB, free: 7.402 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.0001677/0.6507, allocations: 150.4 kB / 0.8446 GB, free: 7.246 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.6508, allocations: 31.81 kB / 0.8446 GB, free: 7.215 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007297/0.6515, allocations: 313.4 kB / 0.8449 GB, free: 6.906 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.6515, allocations: 8 kB / 0.8449 GB, free: 6.898 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6515, allocations: 3.938 kB / 0.8449 GB, free: 6.895 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.6515, allocations: 3.938 kB / 0.8449 GB, free: 6.891 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.6529, allocations: 0.8083 MB / 0.8457 GB, free: 6.004 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.6529, allocations: 0 / 0.8457 GB, free: 6.004 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.6531, allocations: 39.91 kB / 0.8458 GB, free: 5.965 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.6531, allocations: 4 kB / 0.8458 GB, free: 5.961 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.6532, allocations: 8 kB / 0.8458 GB, free: 5.953 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.6532, allocations: 0 / 0.8458 GB, free: 5.953 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.6532, allocations: 8.219 kB / 0.8458 GB, free: 5.945 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006447/0.6538, allocations: 409 kB / 0.8462 GB, free: 5.508 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.654, allocations: 136.8 kB / 0.8463 GB, free: 5.355 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/0.654, allocations: 8 kB / 0.8463 GB, free: 5.348 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.6543, allocations: 11.98 kB / 0.8463 GB, free: 5.336 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.954e-05/0.6543, allocations: 19.92 kB / 0.8463 GB, free: 5.316 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.6544, allocations: 15.98 kB / 0.8464 GB, free: 5.301 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002394/0.6546, allocations: 223.1 kB / 0.8466 GB, free: 5.086 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6546, allocations: 0 / 0.8466 GB, free: 5.086 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0005219/0.6551, allocations: 127.7 kB / 0.8467 GB, free: 4.961 MB / 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.001504/0.6567, allocations: 1.052 MB / 0.8477 GB, free: 3.867 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005217/0.6572, allocations: 222.8 kB / 0.8479 GB, free: 3.652 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.6572, allocations: 0 / 0.8479 GB, free: 3.652 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.6574, allocations: 116.6 kB / 0.848 GB, free: 3.539 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000882/0.6583, allocations: 161.2 kB / 0.8482 GB, free: 3.383 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004345/0.6627, allocations: 3.062 MB / 0.8512 GB, free: 164 kB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.6631, allocations: 0.7834 MB / 0.8519 GB, free: 15.35 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002725/0.6634, allocations: 86.86 kB / 0.852 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.6636, allocations: 99.41 kB / 0.8521 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of SimCode: time 3.3e-07/0.6636, allocations: 0 / 0.8521 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03542/0.699, allocations: 10.52 MB / 0.8624 GB, free: 4.871 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.309/9.008, allocations: 1.719 kB / 0.8624 GB, free: 4.871 MB / 0.6856 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)