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.0007555/0.0007554, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0007988/0.0007989, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 223.2 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9397/0.9397, allocations: 135.3 MB / 426.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003143/0.0003144, allocations: 12 kB / 0.5071 GB, free: 5.004 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.161, allocations: 82.31 MB / 0.5875 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4927/0.6537, allocations: 153.9 MB / 0.7378 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008879/0.6627, allocations: 6.648 MB / 0.7443 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007691/0.6635, allocations: 11.09 kB / 0.7443 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005925/0.6641, allocations: 118.6 kB / 0.7444 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002763/0.6669, allocations: 0.8326 MB / 0.7452 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001666/0.6686, allocations: 486.9 kB / 0.7457 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001082/0.6697, allocations: 0.8994 MB / 0.7466 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000391/0.6701, allocations: 222.8 kB / 0.7468 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.6711, allocations: 474.4 kB / 0.7472 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007297/0.6719, allocations: 404.4 kB / 0.7476 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.879e-05/0.6719, allocations: 15.19 kB / 0.7476 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001624/0.6735, allocations: 0.6306 MB / 0.7482 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.6737, allocations: 101.2 kB / 0.7483 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.902e-05/0.6738, allocations: 85.89 kB / 0.7484 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007386/0.6745, allocations: 0.5207 MB / 0.7489 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.974e-06/0.6745, allocations: 4 kB / 0.7489 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.505e-06/0.6746, allocations: 4 kB / 0.7489 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.6746, allocations: 0 / 0.7489 GB, free: 6.754 MB / 0.5606 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.0009084/0.6755, allocations: 0.6355 MB / 0.7496 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.6755, allocations: 8.844 kB / 0.7496 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.265e-05/0.6756, allocations: 64.16 kB / 0.7496 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009346/0.6766, allocations: 132.4 kB / 0.7498 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004163/0.677, allocations: 310.5 kB / 0.7501 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.159e-05/0.6771, allocations: 50.86 kB / 0.7501 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.811e-05/0.6771, allocations: 26.03 kB / 0.7501 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000602/0.6777, allocations: 378.5 kB / 0.7505 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.6777, allocations: 3.953 kB / 0.7505 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/0.6778, allocations: 11.34 kB / 0.7505 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.6778, allocations: 6.594 kB / 0.7505 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004791/0.6783, allocations: 281.5 kB / 0.7508 GB, free: 5.336 MB / 0.5606 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.001744/0.68, allocations: 1.501 MB / 0.7522 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004015/0.6805, allocations: 202.5 kB / 0.7524 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.6807, allocations: 124.8 kB / 0.7526 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009664/0.6817, allocations: 0.5131 MB / 0.7531 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.6817, allocations: 34.56 kB / 0.7531 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 2.985e-06/0.6817, allocations: 4 kB / 0.7531 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0009048/0.6826, allocations: 384.8 kB / 0.7535 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.6827, allocations: 51.41 kB / 0.7535 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.683, allocations: 312.5 kB / 0.7538 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.683, allocations: 29.7 kB / 0.7538 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.6832, allocations: 184.1 kB / 0.754 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.572e-05/0.6832, allocations: 55.28 kB / 0.7541 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.223e-05/0.6832, allocations: 0 / 0.7541 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.6834, allocations: 342.8 kB / 0.7544 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.6836, allocations: 95.92 kB / 0.7545 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.6838, allocations: 152.9 kB / 0.7546 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002245/0.684, allocations: 115.6 kB / 0.7547 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.6841, allocations: 0 / 0.7547 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005696/0.6846, allocations: 293 kB / 0.755 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.6847, allocations: 4 kB / 0.755 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.6847, allocations: 0 / 0.755 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.6847, allocations: 4 kB / 0.755 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.6849, allocations: 56.09 kB / 0.7551 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.6849, allocations: 0 / 0.7551 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.6852, allocations: 43.62 kB / 0.7551 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.6852, allocations: 12 kB / 0.7551 GB, free: 0.832 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001514/0.6854, allocations: 145.8 kB / 0.7553 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.6855, allocations: 35.7 kB / 0.7553 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006847/0.6862, allocations: 327.7 kB / 0.7556 GB, free: 324 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.6862, allocations: 0 / 0.7556 GB, free: 324 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.6862, allocations: 4 kB / 0.7556 GB, free: 320 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.6862, allocations: 0 / 0.7556 GB, free: 320 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.6874, allocations: 0.8122 MB / 0.7564 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.6875, allocations: 5.25 kB / 0.7564 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.6876, allocations: 31.98 kB / 0.7565 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.6877, allocations: 11.89 kB / 0.7565 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.766e-05/0.6877, allocations: 12.2 kB / 0.7565 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.6877, allocations: 4 kB / 0.7565 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.6877, allocations: 4 kB / 0.7565 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005708/0.6883, allocations: 408.1 kB / 0.7569 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.6884, allocations: 136.6 kB / 0.757 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.808e-05/0.6885, allocations: 15.94 kB / 0.757 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.6887, allocations: 24.86 kB / 0.757 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.6888, allocations: 15.98 kB / 0.7571 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.6888, allocations: 11.98 kB / 0.7571 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002051/0.689, allocations: 223 kB / 0.7573 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.689, allocations: 4 kB / 0.7573 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004981/0.6895, allocations: 111.9 kB / 0.7574 GB, free: 14.38 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00116/0.6907, allocations: 1.056 MB / 0.7584 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004621/0.6912, allocations: 227.7 kB / 0.7586 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6912, allocations: 0 / 0.7586 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002218/0.6914, allocations: 128.5 kB / 0.7588 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008435/0.6923, allocations: 152.4 kB / 0.7589 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002704/0.695, allocations: 1.851 MB / 0.7607 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.6954, allocations: 0.7836 MB / 0.7615 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003309/0.6957, allocations: 88.39 kB / 0.7616 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.6959, allocations: 103.4 kB / 0.7617 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/0.6959, allocations: 0 / 0.7617 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02238/0.7183, allocations: 9.821 MB / 0.7713 GB, free: 284 kB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/0.7185, allocations: 212.5 kB / 0.7715 GB, free: 36 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.008/2.726, allocations: 4 kB / 0.7715 GB, free: 32 kB / 0.5762 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) Environment - environmentSimulation: