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.00159/0.00159, allocations: 107.4 kB / 16.27 MB, free: 6.414 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.001875/0.001875, allocations: 190.3 kB / 17.2 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.445/1.445, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8063/0.8063, allocations: 132.2 MB / 423.2 MB, free: 6.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001444, allocations: 67.89 kB / 0.5024 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.388, allocations: 80.18 MB / 0.5807 GB, free: 27.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1802/0.5683, allocations: 167.4 MB / 0.7442 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002987/0.5714, allocations: 1.554 MB / 0.7457 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000471/0.5719, allocations: 11.94 kB / 0.7457 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00053/0.5724, allocations: 150.9 kB / 0.7458 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001811/0.5743, allocations: 0.7039 MB / 0.7465 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.576, allocations: 0.5985 MB / 0.7471 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008638/0.5769, allocations: 0.6974 MB / 0.7478 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003734/0.5773, allocations: 229 kB / 0.748 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006071/0.5779, allocations: 334.8 kB / 0.7483 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000302/0.5782, allocations: 227 kB / 0.7485 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.427e-05/0.5783, allocations: 24 kB / 0.7486 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00158/0.5798, allocations: 0.8611 MB / 0.7494 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.58, allocations: 111.7 kB / 0.7495 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001663/0.5802, allocations: 163.2 kB / 0.7497 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3537/0.9339, allocations: 0.7175 MB / 0.7504 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.838e-06/0.9339, allocations: 2.906 kB / 0.7504 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.514e-06/0.9339, allocations: 0.5 kB / 0.7504 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.422e-05/0.934, allocations: 0 / 0.7504 GB, free: 4.184 MB / 0.5762 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.001132/0.9351, allocations: 0.6402 MB / 0.751 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.9352, allocations: 9.984 kB / 0.751 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/0.9366, allocations: 154.8 kB / 0.7512 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004535/0.937, allocations: 307.6 kB / 0.7514 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.9371, allocations: 18.16 kB / 0.7515 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.164e-05/0.9371, allocations: 24.78 kB / 0.7515 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005561/0.9377, allocations: 276.8 kB / 0.7517 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.9377, allocations: 2.281 kB / 0.7518 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.9377, allocations: 10.69 kB / 0.7518 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.9378, allocations: 5.875 kB / 0.7518 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004399/0.9382, allocations: 200.3 kB / 0.752 GB, free: 3.441 MB / 0.5762 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.001503/0.9397, allocations: 1.216 MB / 0.7531 GB, free: 18.61 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.94, allocations: 141.1 kB / 0.7533 GB, free: 18.59 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.9402, allocations: 92.36 kB / 0.7534 GB, free: 18.58 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006043/0.9408, allocations: 302.8 kB / 0.7537 GB, free: 18.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.9408, allocations: 37.22 kB / 0.7537 GB, free: 18.26 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.703e-06/0.9408, allocations: 0.9062 kB / 0.7537 GB, free: 18.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0007156/0.9416, allocations: 274.6 kB / 0.754 GB, free: 18.21 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.9416, allocations: 54.59 kB / 0.754 GB, free: 18.15 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.9419, allocations: 313.6 kB / 0.7543 GB, free: 18.05 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.9419, allocations: 31.58 kB / 0.7543 GB, free: 18.02 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.942, allocations: 191.4 kB / 0.7545 GB, free: 17.91 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.9421, allocations: 53.59 kB / 0.7546 GB, free: 17.87 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.037e-05/0.9422, allocations: 46.28 kB / 0.7546 GB, free: 17.86 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.9423, allocations: 335.6 kB / 0.7549 GB, free: 17.54 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.9424, allocations: 73.56 kB / 0.755 GB, free: 17.54 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.9426, allocations: 121.4 kB / 0.7551 GB, free: 17.49 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/0.943, allocations: 193.8 kB / 0.7553 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.943, allocations: 0 / 0.7553 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004491/0.9434, allocations: 238.8 kB / 0.7555 GB, free: 17.39 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.9435, allocations: 10.25 kB / 0.7555 GB, free: 17.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.9435, allocations: 3.938 kB / 0.7555 GB, free: 17.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.9435, allocations: 3.578 kB / 0.7556 GB, free: 17.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.9437, allocations: 45.97 kB / 0.7556 GB, free: 17.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.9437, allocations: 3.938 kB / 0.7556 GB, free: 17.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.9439, allocations: 25 kB / 0.7556 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.9439, allocations: 11.09 kB / 0.7556 GB, free: 17.38 MB / 0.5919 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.0001279/0.9441, allocations: 149.7 kB / 0.7558 GB, free: 17.27 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.34e-05/0.9441, allocations: 30.62 kB / 0.7558 GB, free: 17.25 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004423/0.9446, allocations: 222.4 kB / 0.756 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.9446, allocations: 2.594 kB / 0.756 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.9446, allocations: 0.9375 kB / 0.756 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.9446, allocations: 5.906 kB / 0.756 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.9456, allocations: 0.6874 MB / 0.7567 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.9457, allocations: 2.531 kB / 0.7567 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.9458, allocations: 37.06 kB / 0.7567 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.685e-06/0.9458, allocations: 3.938 kB / 0.7567 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.9459, allocations: 3.25 kB / 0.7567 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.9459, allocations: 2.5 kB / 0.7567 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.9459, allocations: 7.312 kB / 0.7568 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006624/0.9466, allocations: 436.5 kB / 0.7572 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.9467, allocations: 121.5 kB / 0.7573 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.639e-05/0.9467, allocations: 3.344 kB / 0.7573 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.9469, allocations: 12.27 kB / 0.7573 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/0.947, allocations: 20.09 kB / 0.7573 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.947, allocations: 9 kB / 0.7573 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002383/0.9472, allocations: 225.2 kB / 0.7575 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9472, allocations: 0.75 kB / 0.7575 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004333/0.9477, allocations: 84.34 kB / 0.7576 GB, free: 16.44 MB / 0.5919 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.0004135/0.9481, allocations: 167.4 kB / 0.7578 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004657/0.9486, allocations: 169.8 kB / 0.7579 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.9486, allocations: 0.9688 kB / 0.7579 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.9488, allocations: 91.59 kB / 0.758 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009037/0.9497, allocations: 169.1 kB / 0.7582 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.9508, allocations: 0.6351 MB / 0.7588 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.9512, allocations: 0.776 MB / 0.7596 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.401e-05/0.9513, allocations: 30 kB / 0.7596 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/0.9513, allocations: 2.094 kB / 0.7596 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of Templates: time 0.01056/0.9619, allocations: 4.813 MB / 0.7643 GB, free: 15.09 MB / 0.5919 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)