Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.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.VolumeFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",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.001401/0.001401, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00164/0.001641, allocations: 193.4 kB / 16.14 MB, free: 6.707 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.35/1.35, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7328/0.7328, allocations: 132.2 MB / 422.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001186, allocations: 60.88 kB / 0.5012 GB, free: 9.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1463, allocations: 80.2 MB / 0.5795 GB, free: 9.152 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4093/0.5556, allocations: 165.1 MB / 0.7407 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002577/0.5582, allocations: 1.558 MB / 0.7423 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000237/0.5585, allocations: 11 kB / 0.7423 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004586/0.5589, allocations: 117.2 kB / 0.7424 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001425/0.5604, allocations: 0.6736 MB / 0.743 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.5617, allocations: 0.5442 MB / 0.7436 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001063/0.5628, allocations: 0.9684 MB / 0.7445 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003435/0.5631, allocations: 206.2 kB / 0.7447 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005936/0.5637, allocations: 307 kB / 0.745 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003068/0.5641, allocations: 229.2 kB / 0.7452 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.412e-05/0.5641, allocations: 14.25 kB / 0.7452 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001551/0.5657, allocations: 1.02 MB / 0.7462 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.5658, allocations: 102.1 kB / 0.7463 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.566, allocations: 154.4 kB / 0.7465 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008983/0.5669, allocations: 0.7633 MB / 0.7472 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.5669, allocations: 6.469 kB / 0.7472 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.72e-07/0.5669, allocations: 0 / 0.7472 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.5669, allocations: 0 / 0.7472 GB, free: 6.16 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.000833/0.5677, allocations: 0.6447 MB / 0.7479 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.5678, allocations: 10.44 kB / 0.7479 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.002e-05/0.5678, allocations: 61.36 kB / 0.7479 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.569, allocations: 156.2 kB / 0.7481 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/0.5694, allocations: 308.2 kB / 0.7484 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.5694, allocations: 16.06 kB / 0.7484 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/0.5694, allocations: 27.09 kB / 0.7484 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004515/0.5699, allocations: 285.1 kB / 0.7487 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.5699, allocations: 0 / 0.7487 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.5699, allocations: 11.98 kB / 0.7487 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.5699, allocations: 7.531 kB / 0.7487 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003858/0.5703, allocations: 193.2 kB / 0.7489 GB, free: 4.852 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.001228/0.5716, allocations: 1.21 MB / 0.7501 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.5718, allocations: 137.7 kB / 0.7502 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.572, allocations: 94.94 kB / 0.7503 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005821/0.5726, allocations: 303.2 kB / 0.7506 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.5726, allocations: 38.55 kB / 0.7506 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.263e-06/0.5726, allocations: 0 / 0.7506 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0007243/0.5734, allocations: 280.7 kB / 0.7509 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.5734, allocations: 53.94 kB / 0.7509 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.5737, allocations: 316.7 kB / 0.7512 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.5737, allocations: 29.7 kB / 0.7513 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.5739, allocations: 179.2 kB / 0.7514 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.145e-05/0.5739, allocations: 59.16 kB / 0.7515 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.062e-05/0.574, allocations: 45.58 kB / 0.7515 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.5741, allocations: 338.9 kB / 0.7519 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.5743, allocations: 65.14 kB / 0.7519 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.5745, allocations: 126.5 kB / 0.752 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003626/0.5749, allocations: 194.6 kB / 0.7522 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5749, allocations: 2.938 kB / 0.7522 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004346/0.5753, allocations: 239.2 kB / 0.7524 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.5753, allocations: 7.219 kB / 0.7525 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.5753, allocations: 0 / 0.7525 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.5754, allocations: 3.5 kB / 0.7525 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.5756, allocations: 40.81 kB / 0.7525 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.5756, allocations: 11.88 kB / 0.7525 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.5758, allocations: 35.86 kB / 0.7525 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.5758, allocations: 8 kB / 0.7526 GB, free: 1.762 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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.0001328/0.576, allocations: 147.3 kB / 0.7527 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.763e-05/0.576, allocations: 35.61 kB / 0.7527 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004544/0.5765, allocations: 218.1 kB / 0.7529 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.5765, allocations: 7.922 kB / 0.7529 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.5765, allocations: 0 / 0.7529 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.5765, allocations: 8 kB / 0.7529 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009418/0.5775, allocations: 0.6757 MB / 0.7536 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.5775, allocations: 0 / 0.7536 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.5777, allocations: 39.86 kB / 0.7536 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.5777, allocations: 4 kB / 0.7537 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.5777, allocations: 4 kB / 0.7537 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.5777, allocations: 7.984 kB / 0.7537 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5777, allocations: 0 / 0.7537 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006092/0.5783, allocations: 439.7 kB / 0.7541 GB, free: 72 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.5785, allocations: 128.7 kB / 0.7542 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.5785, allocations: 4 kB / 0.7542 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.5787, allocations: 16.58 kB / 0.7542 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/0.5788, allocations: 19.92 kB / 0.7542 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.5788, allocations: 8 kB / 0.7543 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002022/0.579, allocations: 227.1 kB / 0.7545 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.579, allocations: 4 kB / 0.7545 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003796/0.5794, allocations: 72 kB / 0.7545 GB, free: 15.58 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (15): * Single equations (assignments): 15 * 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.001054/0.5805, allocations: 1.033 MB / 0.7555 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003911/0.5809, allocations: 165.6 kB / 0.7557 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5809, allocations: 4 kB / 0.7557 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.5811, allocations: 84.45 kB / 0.7558 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008539/0.5819, allocations: 160.9 kB / 0.7559 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00335/0.5853, allocations: 3 MB / 0.7589 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.5856, allocations: 0.7836 MB / 0.7596 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002209/0.5858, allocations: 58.92 kB / 0.7597 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.586, allocations: 87.41 kB / 0.7598 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of SimCode: time 3.7e-07/0.586, allocations: 0 / 0.7598 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2655/0.8515, allocations: 8.345 MB / 0.7679 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002927/0.8519, allocations: 232.9 kB / 0.7682 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.026/2.878, allocations: 0 / 0.7682 GB, free: 1.637 MB / 0.5762 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)