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.001284/0.001284, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001388/0.001388, allocations: 192.5 kB / 16.13 MB, free: 6.703 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.413/1.413, 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.7466/0.7466, allocations: 132.2 MB / 422.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 63.03 kB / 0.5011 GB, free: 9.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2073, allocations: 80.21 MB / 0.5794 GB, free: 9.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5342/0.7416, allocations: 165.1 MB / 0.7407 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002889/0.7446, allocations: 1.563 MB / 0.7422 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005223/0.7451, allocations: 12.41 kB / 0.7422 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005955/0.7457, allocations: 114.5 kB / 0.7423 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00188/0.7477, allocations: 0.6723 MB / 0.743 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.7493, allocations: 0.5409 MB / 0.7435 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0011/0.7504, allocations: 0.977 MB / 0.7444 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003773/0.7508, allocations: 198.8 kB / 0.7446 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006613/0.7515, allocations: 313 kB / 0.7449 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004655/0.752, allocations: 223.6 kB / 0.7451 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.22e-05/0.752, allocations: 15.12 kB / 0.7452 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001978/0.754, allocations: 1.021 MB / 0.7462 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.7542, allocations: 96.19 kB / 0.7462 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002286/0.7544, allocations: 152.5 kB / 0.7464 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001542/0.756, allocations: 0.7673 MB / 0.7471 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.756, allocations: 0 / 0.7471 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.783e-06/0.756, allocations: 4 kB / 0.7471 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.756, allocations: 0 / 0.7471 GB, free: 6.18 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.001203/0.7572, allocations: 0.6486 MB / 0.7478 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.7573, allocations: 10.16 kB / 0.7478 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001284/0.7586, allocations: 156 kB / 0.7479 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004713/0.7591, allocations: 308 kB / 0.7482 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.7591, allocations: 15.81 kB / 0.7482 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.672e-05/0.7591, allocations: 22.97 kB / 0.7483 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005337/0.7597, allocations: 283.1 kB / 0.7485 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.7597, allocations: 2.094 kB / 0.7485 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.7597, allocations: 6.625 kB / 0.7485 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.7598, allocations: 4.656 kB / 0.7486 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004215/0.7602, allocations: 200.7 kB / 0.7487 GB, free: 4.93 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.001529/0.7617, allocations: 1.209 MB / 0.7499 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.762, allocations: 139.9 kB / 0.7501 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.7622, allocations: 90.98 kB / 0.7501 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000674/0.7629, allocations: 307.7 kB / 0.7504 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.7629, allocations: 38.5 kB / 0.7505 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.794e-06/0.7629, allocations: 0 / 0.7505 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0007997/0.7638, allocations: 277.3 kB / 0.7507 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.7638, allocations: 53.91 kB / 0.7508 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003335/0.7641, allocations: 315.8 kB / 0.7511 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.7642, allocations: 32.2 kB / 0.7511 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.7643, allocations: 179.7 kB / 0.7513 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.573e-05/0.7644, allocations: 56.7 kB / 0.7513 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.093e-05/0.7645, allocations: 43.77 kB / 0.7514 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.7646, allocations: 338.8 kB / 0.7517 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.7648, allocations: 69.55 kB / 0.7518 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.765, allocations: 132.2 kB / 0.7519 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003733/0.7654, allocations: 200.7 kB / 0.7521 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.7654, allocations: 0 / 0.7521 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004909/0.7659, allocations: 233.9 kB / 0.7523 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.7659, allocations: 5.438 kB / 0.7523 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.7659, allocations: 2.531 kB / 0.7523 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.766, allocations: 2.906 kB / 0.7523 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.7662, allocations: 43.7 kB / 0.7524 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.7662, allocations: 11.05 kB / 0.7524 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.7664, allocations: 32.86 kB / 0.7524 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.7665, allocations: 8 kB / 0.7524 GB, free: 1.855 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.000154/0.7666, allocations: 149.7 kB / 0.7526 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.815e-05/0.7667, allocations: 31.62 kB / 0.7526 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004671/0.7672, allocations: 224.7 kB / 0.7528 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.7672, allocations: 0 / 0.7528 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.7672, allocations: 4 kB / 0.7528 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.7672, allocations: 0 / 0.7528 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.7683, allocations: 0.6817 MB / 0.7535 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.7683, allocations: 4 kB / 0.7535 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.7684, allocations: 31.92 kB / 0.7535 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.7685, allocations: 3.938 kB / 0.7535 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.7685, allocations: 11.81 kB / 0.7535 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.7685, allocations: 8.219 kB / 0.7535 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.7685, allocations: 3.938 kB / 0.7535 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006644/0.7692, allocations: 433 kB / 0.754 GB, free: 172 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.7693, allocations: 128.7 kB / 0.7541 GB, free: 24 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.554e-05/0.7694, allocations: 4 kB / 0.7541 GB, free: 20 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.7696, allocations: 19.89 kB / 0.7541 GB, free: 0 / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.836e-05/0.7696, allocations: 16.23 kB / 0.7541 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.7697, allocations: 15.94 kB / 0.7541 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002582/0.7699, allocations: 227 kB / 0.7543 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7699, allocations: 0 / 0.7543 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004173/0.7704, allocations: 72 kB / 0.7544 GB, free: 15.67 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.0004061/0.7708, allocations: 174.4 kB / 0.7546 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004198/0.7712, allocations: 159.8 kB / 0.7547 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.7712, allocations: 4 kB / 0.7547 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.7714, allocations: 88.45 kB / 0.7548 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008962/0.7723, allocations: 162.8 kB / 0.755 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.7734, allocations: 0.6929 MB / 0.7557 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.7738, allocations: 0.7758 MB / 0.7564 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002401/0.774, allocations: 68.42 kB / 0.7565 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.619e-05/0.7741, allocations: 23.44 kB / 0.7565 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.7741, allocations: 0 / 0.7565 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of Templates: time 0.01127/0.7854, allocations: 5.447 MB / 0.7618 GB, free: 8.141 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)