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: translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008951/0.0008948, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.007406/0.007407, allocations: 174.8 kB / 16.27 MB, free: 6.648 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.416/1.416, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9693/0.9693, allocations: 135.3 MB / 426.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.0003788, allocations: 8.906 kB / 0.5076 GB, free: 4.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1968, allocations: 82.31 MB / 0.588 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5791/0.776, allocations: 162.9 MB / 0.7471 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00385/0.7799, allocations: 1.554 MB / 0.7486 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004003/0.7803, allocations: 9.438 kB / 0.7486 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005282/0.7809, allocations: 113.6 kB / 0.7487 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002183/0.7831, allocations: 0.6787 MB / 0.7494 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.785, allocations: 0.5437 MB / 0.7499 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001263/0.7863, allocations: 0.9789 MB / 0.7509 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003673/0.7866, allocations: 188.8 kB / 0.751 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006493/0.7873, allocations: 302.8 kB / 0.7513 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003575/0.7877, allocations: 227.9 kB / 0.7516 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.292e-05/0.7877, allocations: 13.06 kB / 0.7516 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001959/0.7897, allocations: 1.018 MB / 0.7526 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.7898, allocations: 96.36 kB / 0.7527 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000184/0.79, allocations: 182.5 kB / 0.7528 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.7912, allocations: 0.7561 MB / 0.7536 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.7912, allocations: 0 / 0.7536 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.354e-06/0.7912, allocations: 0 / 0.7536 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.943e-05/0.7912, allocations: 0 / 0.7536 GB, free: 1.742 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.0009008/0.7921, allocations: 0.5964 MB / 0.7541 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.7922, allocations: 13.44 kB / 0.7542 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.7933, allocations: 150.2 kB / 0.7543 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/0.7937, allocations: 309.1 kB / 0.7546 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.7937, allocations: 17.41 kB / 0.7546 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.238e-05/0.7938, allocations: 20.22 kB / 0.7546 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005083/0.7943, allocations: 283 kB / 0.7549 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.7943, allocations: 7.922 kB / 0.7549 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.666e-05/0.7943, allocations: 11.09 kB / 0.7549 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.7943, allocations: 3.344 kB / 0.7549 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004292/0.7948, allocations: 212.7 kB / 0.7551 GB, free: 0.5195 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.001445/0.7962, allocations: 1.211 MB / 0.7563 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.7965, allocations: 141.8 kB / 0.7564 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/0.7967, allocations: 97 kB / 0.7565 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006245/0.7973, allocations: 323.5 kB / 0.7568 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.7974, allocations: 38.5 kB / 0.7569 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.944e-06/0.7974, allocations: 4 kB / 0.7569 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0007792/0.7982, allocations: 295.4 kB / 0.7572 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.7982, allocations: 54.97 kB / 0.7572 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003194/0.7986, allocations: 310.1 kB / 0.7575 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.7986, allocations: 37.02 kB / 0.7576 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.7987, allocations: 182.9 kB / 0.7577 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.554e-05/0.7988, allocations: 49.61 kB / 0.7578 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.7988, allocations: 23.42 kB / 0.7578 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.799, allocations: 337.6 kB / 0.7581 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.7991, allocations: 71.98 kB / 0.7582 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.7994, allocations: 132.6 kB / 0.7583 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003684/0.7998, allocations: 201 kB / 0.7585 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.7998, allocations: 7.938 kB / 0.7585 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004878/0.8003, allocations: 245.1 kB / 0.7587 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.619e-05/0.8003, allocations: 8 kB / 0.7588 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.8003, allocations: 3.188 kB / 0.7588 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.8003, allocations: 4.094 kB / 0.7588 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/0.8006, allocations: 47.91 kB / 0.7588 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.8006, allocations: 7.984 kB / 0.7588 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002642/0.8009, allocations: 39.67 kB / 0.7589 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.592e-05/0.8009, allocations: 12 kB / 0.7589 GB, free: 13.16 MB / 0.5762 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.0001721/0.8011, allocations: 157.7 kB / 0.759 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.329e-05/0.8011, allocations: 31.62 kB / 0.759 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004742/0.8016, allocations: 216.4 kB / 0.7593 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.8016, allocations: 4 kB / 0.7593 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.8017, allocations: 0 / 0.7593 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.8017, allocations: 7.938 kB / 0.7593 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.8027, allocations: 0.6952 MB / 0.7599 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.8028, allocations: 0 / 0.7599 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.8029, allocations: 31.98 kB / 0.76 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.8029, allocations: 7.938 kB / 0.76 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.803, allocations: 11.98 kB / 0.76 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.803, allocations: 8.156 kB / 0.76 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/0.803, allocations: 4.875 kB / 0.76 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007323/0.8037, allocations: 444.9 kB / 0.7604 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.8039, allocations: 128.7 kB / 0.7606 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.474e-05/0.8039, allocations: 11.94 kB / 0.7606 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.8041, allocations: 11.98 kB / 0.7606 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.411e-05/0.8042, allocations: 15.98 kB / 0.7606 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.8042, allocations: 4 kB / 0.7606 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002227/0.8044, allocations: 231 kB / 0.7608 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.91e-07/0.8044, allocations: 0 / 0.7608 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004287/0.8049, allocations: 83.91 kB / 0.7609 GB, free: 10.93 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.0004206/0.8053, allocations: 178.6 kB / 0.7611 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004467/0.8057, allocations: 179.8 kB / 0.7612 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8058, allocations: 0 / 0.7612 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.806, allocations: 100.4 kB / 0.7613 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009595/0.8069, allocations: 155.8 kB / 0.7615 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.808, allocations: 0.7201 MB / 0.7622 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.8084, allocations: 0.7758 MB / 0.7629 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002203/0.8087, allocations: 68.8 kB / 0.763 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.219e-05/0.8087, allocations: 23.44 kB / 0.763 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of SimCode: time 1.944e-06/0.8087, allocations: 0 / 0.763 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of Templates: time 0.01049/0.8192, allocations: 5.433 MB / 0.7683 GB, free: 3.379 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)