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: translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001237/0.001237, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 196.4 kB / 16.53 MB, free: 6.672 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7381/0.7381, allocations: 132.2 MB / 422.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.67 kB / 0.5018 GB, free: 8.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1763, allocations: 80.2 MB / 0.5801 GB, free: 8.754 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4912/0.6676, allocations: 167.4 MB / 0.7435 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002824/0.6704, allocations: 1.549 MB / 0.745 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000637/0.6711, allocations: 10.5 kB / 0.745 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006057/0.6717, allocations: 143.7 kB / 0.7452 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002086/0.6738, allocations: 0.7035 MB / 0.7459 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.6755, allocations: 0.5936 MB / 0.7464 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007883/0.6763, allocations: 0.6988 MB / 0.7471 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004047/0.6767, allocations: 237.8 kB / 0.7473 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006974/0.6774, allocations: 335.2 kB / 0.7477 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004277/0.6779, allocations: 223.5 kB / 0.7479 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.087e-05/0.6779, allocations: 22.44 kB / 0.7479 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001854/0.6798, allocations: 0.8621 MB / 0.7487 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.6799, allocations: 111 kB / 0.7489 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.6801, allocations: 170.5 kB / 0.749 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.6812, allocations: 0.7122 MB / 0.7497 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.6812, allocations: 3.938 kB / 0.7497 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6812, allocations: 0 / 0.7497 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.6812, allocations: 4 kB / 0.7497 GB, free: 4 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.0009092/0.6821, allocations: 0.6443 MB / 0.7503 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.6822, allocations: 14.12 kB / 0.7504 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.6833, allocations: 159.5 kB / 0.7505 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004007/0.6837, allocations: 305.2 kB / 0.7508 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.6838, allocations: 18.5 kB / 0.7508 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.144e-05/0.6838, allocations: 31.11 kB / 0.7508 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004585/0.6843, allocations: 272.2 kB / 0.7511 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.6843, allocations: 0 / 0.7511 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.6843, allocations: 10.78 kB / 0.7511 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.6843, allocations: 4.719 kB / 0.7511 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003857/0.6847, allocations: 201.1 kB / 0.7513 GB, free: 2.75 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.001366/0.6861, allocations: 1.215 MB / 0.7525 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.6864, allocations: 140.1 kB / 0.7526 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.6866, allocations: 96.08 kB / 0.7527 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006311/0.6872, allocations: 300.9 kB / 0.753 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.6872, allocations: 37.03 kB / 0.7531 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.6873, allocations: 0 / 0.7531 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0007227/0.688, allocations: 275.4 kB / 0.7533 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.688, allocations: 58.31 kB / 0.7534 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.6883, allocations: 315 kB / 0.7537 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.6883, allocations: 29.7 kB / 0.7537 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.6885, allocations: 179.9 kB / 0.7539 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.6885, allocations: 58.94 kB / 0.7539 GB, free: 500 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.54e-05/0.6886, allocations: 42.05 kB / 0.754 GB, free: 468 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.6887, allocations: 338 kB / 0.7543 GB, free: 128 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.6889, allocations: 68.08 kB / 0.7544 GB, free: 68 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.6891, allocations: 133.5 kB / 0.7545 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003246/0.6894, allocations: 191.9 kB / 0.7547 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.6895, allocations: 0 / 0.7547 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000466/0.6899, allocations: 241.1 kB / 0.7549 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.6899, allocations: 10.19 kB / 0.7549 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.69, allocations: 0 / 0.7549 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.69, allocations: 4 kB / 0.7549 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.6902, allocations: 48 kB / 0.755 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.6902, allocations: 0 / 0.755 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.6904, allocations: 35.67 kB / 0.755 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.6904, allocations: 11.12 kB / 0.755 GB, free: 15.38 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.0001427/0.6906, allocations: 153.7 kB / 0.7551 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.319e-05/0.6906, allocations: 27.72 kB / 0.7552 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004622/0.6911, allocations: 216.3 kB / 0.7554 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.6911, allocations: 0 / 0.7554 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.6911, allocations: 4 kB / 0.7554 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.6911, allocations: 3.984 kB / 0.7554 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009598/0.6921, allocations: 0.6872 MB / 0.7561 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.6921, allocations: 0 / 0.7561 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.6923, allocations: 31.98 kB / 0.7561 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.6923, allocations: 7.875 kB / 0.7561 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.6923, allocations: 4 kB / 0.7561 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.6923, allocations: 8.156 kB / 0.7561 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.6923, allocations: 4 kB / 0.7561 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000614/0.693, allocations: 439.3 kB / 0.7565 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.6931, allocations: 132.6 kB / 0.7567 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.369e-05/0.6932, allocations: 4 kB / 0.7567 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.6933, allocations: 11.98 kB / 0.7567 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.048e-05/0.6934, allocations: 16.05 kB / 0.7567 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.6934, allocations: 9.375 kB / 0.7567 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002175/0.6936, allocations: 223.1 kB / 0.7569 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6936, allocations: 0 / 0.7569 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004267/0.6941, allocations: 79.98 kB / 0.757 GB, free: 13.19 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.0004185/0.6945, allocations: 162.1 kB / 0.7571 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004508/0.695, allocations: 171.8 kB / 0.7573 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.695, allocations: 0 / 0.7573 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.6952, allocations: 89.16 kB / 0.7574 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008824/0.6961, allocations: 177.1 kB / 0.7576 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009918/0.6971, allocations: 0.6053 MB / 0.7581 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.6974, allocations: 0.7756 MB / 0.7589 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002047/0.6976, allocations: 67.55 kB / 0.759 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.311e-05/0.6977, allocations: 23.44 kB / 0.759 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of SimCode: time 1.91e-07/0.6977, allocations: 0 / 0.759 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of Templates: time 0.01183/0.7095, allocations: 5.733 MB / 0.7646 GB, free: 5.465 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.makefile (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 & ./IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)