Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.VolumeFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IDEAS_dev_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.007655/0.007654, allocations: 102 kB / 15.73 MB, free: 6.035 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.00163/0.001631, allocations: 197.4 kB / 16.68 MB, free: 5.953 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7848/0.7848, allocations: 135.1 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 68.39 kB / 0.5851 GB, free: 21.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1512, allocations: 80.92 MB / 0.6642 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5161/0.6674, allocations: 167.4 MB / 0.8276 GB, free: 260 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002594/0.67, allocations: 1.55 MB / 0.8291 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003542/0.6704, allocations: 11.81 kB / 0.8291 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004976/0.6709, allocations: 141.9 kB / 0.8293 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001748/0.6727, allocations: 0.7419 MB / 0.83 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001473/0.6742, allocations: 0.6061 MB / 0.8306 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000683/0.6749, allocations: 0.6985 MB / 0.8313 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003286/0.6752, allocations: 237.1 kB / 0.8315 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005091/0.6757, allocations: 348.1 kB / 0.8318 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.676, allocations: 223.5 kB / 0.832 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.625e-05/0.676, allocations: 22.94 kB / 0.8321 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001358/0.6774, allocations: 0.8718 MB / 0.8329 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.6775, allocations: 104.8 kB / 0.833 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.6777, allocations: 172.5 kB / 0.8332 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009154/0.6786, allocations: 0.7273 MB / 0.8339 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.6786, allocations: 0 / 0.8339 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6786, allocations: 0 / 0.8339 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.6787, allocations: 0 / 0.8339 GB, free: 11.88 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008378/0.6795, allocations: 0.6456 MB / 0.8345 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.6795, allocations: 10.98 kB / 0.8345 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.054e-05/0.6796, allocations: 66.16 kB / 0.8346 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.6807, allocations: 147.7 kB / 0.8347 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004777/0.6812, allocations: 325.1 kB / 0.835 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.6812, allocations: 14.53 kB / 0.8351 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.225e-05/0.6813, allocations: 31.03 kB / 0.8351 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004317/0.6817, allocations: 278.7 kB / 0.8353 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.6817, allocations: 0 / 0.8353 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.6817, allocations: 10.28 kB / 0.8354 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.6818, allocations: 8.594 kB / 0.8354 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003754/0.6821, allocations: 195.8 kB / 0.8356 GB, free: 10.56 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.001334/0.6835, allocations: 1.208 MB / 0.8367 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.6837, allocations: 141.6 kB / 0.8369 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.6839, allocations: 90.92 kB / 0.837 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005162/0.6844, allocations: 301.8 kB / 0.8372 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.6845, allocations: 41.41 kB / 0.8373 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.6845, allocations: 0 / 0.8373 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0007291/0.6852, allocations: 283.8 kB / 0.8375 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.6853, allocations: 54.28 kB / 0.8376 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.6856, allocations: 312.1 kB / 0.8379 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.6856, allocations: 29.7 kB / 0.8379 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.6857, allocations: 181.6 kB / 0.8381 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.391e-05/0.6858, allocations: 56.44 kB / 0.8382 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-05/0.6859, allocations: 43.39 kB / 0.8382 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.686, allocations: 342.3 kB / 0.8385 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.6861, allocations: 67.17 kB / 0.8386 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.6863, allocations: 121.2 kB / 0.8387 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003155/0.6867, allocations: 192.9 kB / 0.8389 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6867, allocations: 0 / 0.8389 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004227/0.6871, allocations: 244.8 kB / 0.8391 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.6871, allocations: 9.969 kB / 0.8391 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.6871, allocations: 0 / 0.8391 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.6872, allocations: 4.75 kB / 0.8391 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.6873, allocations: 38.5 kB / 0.8392 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.6874, allocations: 6.031 kB / 0.8392 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.6876, allocations: 34.05 kB / 0.8392 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.81e-05/0.6876, allocations: 11.91 kB / 0.8392 GB, free: 7.496 MB / 0.6075 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.0001336/0.6877, allocations: 143 kB / 0.8394 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.832e-05/0.6878, allocations: 35 kB / 0.8394 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004399/0.6882, allocations: 224.1 kB / 0.8396 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.6883, allocations: 2.438 kB / 0.8396 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.6883, allocations: 0 / 0.8396 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.6883, allocations: 3.984 kB / 0.8396 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009683/0.6892, allocations: 0.6743 MB / 0.8403 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.6893, allocations: 9.688 kB / 0.8403 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.6894, allocations: 37.7 kB / 0.8403 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.6894, allocations: 6.875 kB / 0.8403 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.6895, allocations: 3.219 kB / 0.8403 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.6895, allocations: 2.406 kB / 0.8403 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.6895, allocations: 2.031 kB / 0.8403 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005887/0.6901, allocations: 431.1 kB / 0.8407 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.6902, allocations: 132.4 kB / 0.8409 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.293e-05/0.6902, allocations: 6.312 kB / 0.8409 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.6904, allocations: 12.5 kB / 0.8409 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.6905, allocations: 21.19 kB / 0.8409 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.6905, allocations: 4.469 kB / 0.8409 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002005/0.6907, allocations: 223.2 kB / 0.8411 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6907, allocations: 0 / 0.8411 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000372/0.6911, allocations: 79.7 kB / 0.8412 GB, free: 5.98 MB / 0.6075 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.001093/0.6922, allocations: 1.035 MB / 0.8422 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003948/0.6926, allocations: 175.7 kB / 0.8424 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.6926, allocations: 0 / 0.8424 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.6928, allocations: 87.45 kB / 0.8425 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007952/0.6936, allocations: 164.3 kB / 0.8426 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003418/0.697, allocations: 2.889 MB / 0.8454 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.6974, allocations: 0.7809 MB / 0.8462 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002281/0.6976, allocations: 74.38 kB / 0.8463 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.6977, allocations: 86.38 kB / 0.8464 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of SimCode: time 2.8e-07/0.6977, allocations: 0 / 0.8464 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03059/0.7283, allocations: 8.825 MB / 0.855 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.987/8.716, allocations: 11.59 kB / 0.855 GB, free: 11.57 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)