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.00464/0.00464, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001052/0.001052, allocations: 195.1 kB / 16.67 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.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7752/0.7752, allocations: 132.2 MB / 422.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 68.47 kB / 0.5809 GB, free: 24.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1602, allocations: 80.21 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5846/0.7448, allocations: 169.4 MB / 0.8247 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007925/0.7528, allocations: 7.14 MB / 0.8316 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004617/0.7533, allocations: 14.03 kB / 0.8316 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005324/0.7539, allocations: 167.7 kB / 0.8318 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003157/0.757, allocations: 1.311 MB / 0.8331 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001566/0.7586, allocations: 0.6308 MB / 0.8337 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008144/0.7594, allocations: 0.7713 MB / 0.8345 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003951/0.7598, allocations: 287.2 kB / 0.8347 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.7609, allocations: 0.5925 MB / 0.8353 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007061/0.7616, allocations: 431.9 kB / 0.8357 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.7617, allocations: 25.06 kB / 0.8357 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002081/0.7638, allocations: 1.248 MB / 0.837 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.7639, allocations: 117.5 kB / 0.8371 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.7641, allocations: 178 kB / 0.8372 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001411/0.7655, allocations: 0.9116 MB / 0.8381 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.7655, allocations: 0 / 0.8381 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7656, allocations: 0 / 0.8381 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.7656, allocations: 0 / 0.8381 GB, free: 10.32 MB / 0.6075 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.0009825/0.7666, allocations: 0.7139 MB / 0.8388 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.7666, allocations: 10.22 kB / 0.8388 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.534e-05/0.7667, allocations: 65.09 kB / 0.8389 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009781/0.7677, allocations: 129.1 kB / 0.839 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005363/0.7682, allocations: 345.5 kB / 0.8394 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.506e-05/0.7683, allocations: 54.78 kB / 0.8394 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.553e-05/0.7683, allocations: 25.47 kB / 0.8394 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006237/0.769, allocations: 363.4 kB / 0.8398 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.769, allocations: 6.125 kB / 0.8398 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.167e-05/0.769, allocations: 10.69 kB / 0.8398 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.7691, allocations: 11.34 kB / 0.8398 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005191/0.7696, allocations: 271.1 kB / 0.8401 GB, free: 8.809 MB / 0.6075 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.00178/0.7714, allocations: 1.483 MB / 0.8415 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003909/0.7718, allocations: 205.1 kB / 0.8417 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.772, allocations: 121.2 kB / 0.8418 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009759/0.773, allocations: 0.5065 MB / 0.8423 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.773, allocations: 37.19 kB / 0.8424 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.784e-06/0.773, allocations: 0 / 0.8424 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0009239/0.774, allocations: 359 kB / 0.8427 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.774, allocations: 54 kB / 0.8427 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003117/0.7743, allocations: 324.2 kB / 0.8431 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.7744, allocations: 28.11 kB / 0.8431 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.7745, allocations: 185.8 kB / 0.8433 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.341e-05/0.7746, allocations: 48.41 kB / 0.8433 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.557e-05/0.7747, allocations: 47.08 kB / 0.8434 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.7748, allocations: 342.5 kB / 0.8437 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.775, allocations: 89.3 kB / 0.8438 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.7753, allocations: 143.7 kB / 0.8439 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003963/0.7757, allocations: 251.3 kB / 0.8441 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.7757, allocations: 4 kB / 0.8441 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005486/0.7762, allocations: 280.1 kB / 0.8444 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.7763, allocations: 5.781 kB / 0.8444 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.7763, allocations: 2.375 kB / 0.8444 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.7763, allocations: 2.406 kB / 0.8444 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.7765, allocations: 42.28 kB / 0.8445 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.7765, allocations: 6.469 kB / 0.8445 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.7768, allocations: 30.2 kB / 0.8445 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.7768, allocations: 10.09 kB / 0.8445 GB, free: 5.148 MB / 0.6075 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.0001431/0.7769, allocations: 159.7 kB / 0.8447 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.7771, allocations: 31.16 kB / 0.8447 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006579/0.7777, allocations: 310.2 kB / 0.845 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.7777, allocations: 0 / 0.845 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.7777, allocations: 2.188 kB / 0.845 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.7778, allocations: 3.984 kB / 0.845 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.779, allocations: 0.8055 MB / 0.8458 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.779, allocations: 7.719 kB / 0.8458 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.7793, allocations: 40.95 kB / 0.8458 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.7793, allocations: 2.625 kB / 0.8458 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.7793, allocations: 4.656 kB / 0.8458 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.7793, allocations: 2.812 kB / 0.8458 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.7793, allocations: 10.58 kB / 0.8458 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005592/0.7799, allocations: 405 kB / 0.8462 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.78, allocations: 136.8 kB / 0.8464 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.601e-05/0.7801, allocations: 6.719 kB / 0.8464 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.7803, allocations: 10.83 kB / 0.8464 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/0.7804, allocations: 19.8 kB / 0.8464 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.663e-05/0.7804, allocations: 15.77 kB / 0.8464 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002187/0.7807, allocations: 234.4 kB / 0.8466 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7807, allocations: 0 / 0.8466 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005755/0.7813, allocations: 116.5 kB / 0.8467 GB, free: 3.48 MB / 0.6075 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.001452/0.7827, allocations: 1.067 MB / 0.8478 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000517/0.7832, allocations: 218.1 kB / 0.848 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.7833, allocations: 2.125 kB / 0.848 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.7835, allocations: 115.1 kB / 0.8481 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009218/0.7844, allocations: 162.7 kB / 0.8483 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003949/0.7884, allocations: 3.051 MB / 0.8512 GB, free: 72 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.7888, allocations: 0.7894 MB / 0.852 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003161/0.7891, allocations: 84.84 kB / 0.8521 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.7893, allocations: 104.1 kB / 0.8522 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of SimCode: time 9.02e-07/0.7893, allocations: 0 / 0.8522 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03102/0.8203, allocations: 10.51 MB / 0.8625 GB, free: 5.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.077/8.897, allocations: 8.906 kB / 0.8625 GB, free: 5.496 MB / 0.6231 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)