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.007874/0.007879, allocations: 97.2 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.001347/0.001348, allocations: 201.5 kB / 16.68 MB, free: 5.961 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.513/1.513, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9485/0.9485, allocations: 135.1 MB / 425.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 59.91 kB / 0.5856 GB, free: 3.344 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5087/0.5099, allocations: 80.91 MB / 0.6646 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2185/0.7285, allocations: 167.4 MB / 0.8281 GB, free: 9.672 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003205/0.7318, allocations: 1.548 MB / 0.8296 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004105/0.7322, allocations: 7.938 kB / 0.8296 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005682/0.7328, allocations: 154.8 kB / 0.8298 GB, free: 7.961 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001952/0.7348, allocations: 0.7039 MB / 0.8304 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.7365, allocations: 0.5943 MB / 0.831 GB, free: 6.66 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008894/0.7374, allocations: 0.705 MB / 0.8317 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003968/0.7379, allocations: 225.1 kB / 0.8319 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006108/0.7385, allocations: 338.8 kB / 0.8322 GB, free: 5.398 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002909/0.7388, allocations: 223 kB / 0.8325 GB, free: 5.18 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.229e-05/0.7388, allocations: 20 kB / 0.8325 GB, free: 5.16 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001594/0.7404, allocations: 0.869 MB / 0.8333 GB, free: 4.289 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.7406, allocations: 103.6 kB / 0.8334 GB, free: 4.188 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001762/0.7407, allocations: 167.2 kB / 0.8336 GB, free: 4.023 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.7418, allocations: 0.7335 MB / 0.8343 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.7419, allocations: 3.984 kB / 0.8343 GB, free: 3.289 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7419, allocations: 0 / 0.8343 GB, free: 3.289 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.7419, allocations: 0 / 0.8343 GB, free: 3.289 MB / 0.6544 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.001184/0.7431, allocations: 0.6615 MB / 0.835 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/0.7431, allocations: 8.031 kB / 0.835 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/0.7444, allocations: 163.5 kB / 0.8351 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006505/0.745, allocations: 321.9 kB / 0.8354 GB, free: 2.055 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/0.7451, allocations: 20.44 kB / 0.8354 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.222e-05/0.7451, allocations: 23.94 kB / 0.8355 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005175/0.7457, allocations: 275.5 kB / 0.8357 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.7457, allocations: 0 / 0.8357 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.7457, allocations: 12 kB / 0.8357 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.7457, allocations: 4 kB / 0.8357 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004369/0.7462, allocations: 203.8 kB / 0.8359 GB, free: 1.504 MB / 0.6544 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.001537/0.7477, allocations: 1.209 MB / 0.8371 GB, free: 196 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.748, allocations: 142.5 kB / 0.8373 GB, free: 44 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.7483, allocations: 89.16 kB / 0.8373 GB, free: 15.95 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005956/0.7489, allocations: 303.2 kB / 0.8376 GB, free: 15.6 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.7489, allocations: 42.48 kB / 0.8377 GB, free: 15.55 MB / 0.67 GB Notification: Performance of pre-optimization done (n=15): time 1.283e-06/0.7489, allocations: 0 / 0.8377 GB, free: 15.55 MB / 0.67 GB Notification: Performance of matching and sorting (n=15): time 0.000752/0.7497, allocations: 271.9 kB / 0.8379 GB, free: 15.28 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.7497, allocations: 59.39 kB / 0.838 GB, free: 15.21 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003252/0.7501, allocations: 320.5 kB / 0.8383 GB, free: 14.89 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.7501, allocations: 25.7 kB / 0.8383 GB, free: 14.86 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.7502, allocations: 180.4 kB / 0.8385 GB, free: 14.68 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.126e-05/0.7503, allocations: 59.44 kB / 0.8385 GB, free: 14.62 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.7e-05/0.7504, allocations: 41.7 kB / 0.8386 GB, free: 14.57 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.7505, allocations: 342.8 kB / 0.8389 GB, free: 14.23 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.7507, allocations: 67.89 kB / 0.839 GB, free: 14.16 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.7509, allocations: 126.5 kB / 0.8391 GB, free: 14.02 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003628/0.7513, allocations: 181 kB / 0.8393 GB, free: 13.83 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.768e-06/0.7513, allocations: 4 kB / 0.8393 GB, free: 13.82 MB / 0.67 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004657/0.7518, allocations: 247.3 kB / 0.8395 GB, free: 13.58 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.7518, allocations: 4 kB / 0.8395 GB, free: 13.57 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.7518, allocations: 4 kB / 0.8395 GB, free: 13.57 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.7518, allocations: 0 / 0.8395 GB, free: 13.57 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.752, allocations: 43.92 kB / 0.8396 GB, free: 13.53 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.752, allocations: 8.094 kB / 0.8396 GB, free: 13.52 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.7522, allocations: 35.64 kB / 0.8396 GB, free: 13.48 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/0.7523, allocations: 12 kB / 0.8396 GB, free: 13.47 MB / 0.67 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.0001497/0.7524, allocations: 153.8 kB / 0.8398 GB, free: 13.31 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.512e-05/0.7525, allocations: 31.75 kB / 0.8398 GB, free: 13.28 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004717/0.753, allocations: 220.3 kB / 0.84 GB, free: 13.06 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.753, allocations: 8 kB / 0.84 GB, free: 13.05 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.753, allocations: 0 / 0.84 GB, free: 13.05 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.753, allocations: 3.938 kB / 0.84 GB, free: 13.05 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.7541, allocations: 0.6874 MB / 0.8407 GB, free: 12.29 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.7541, allocations: 4 kB / 0.8407 GB, free: 12.28 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.7543, allocations: 31.97 kB / 0.8407 GB, free: 12.25 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.7543, allocations: 4 kB / 0.8407 GB, free: 12.25 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.7544, allocations: 8 kB / 0.8407 GB, free: 12.24 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.7544, allocations: 0 / 0.8407 GB, free: 12.24 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.7544, allocations: 7.938 kB / 0.8407 GB, free: 12.23 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006774/0.7551, allocations: 428.1 kB / 0.8411 GB, free: 11.78 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.7552, allocations: 128.9 kB / 0.8413 GB, free: 11.63 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.358e-05/0.7552, allocations: 4 kB / 0.8413 GB, free: 11.63 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.7554, allocations: 11.98 kB / 0.8413 GB, free: 11.62 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/0.7555, allocations: 15.92 kB / 0.8413 GB, free: 11.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.7555, allocations: 8 kB / 0.8413 GB, free: 11.59 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002067/0.7557, allocations: 227.1 kB / 0.8415 GB, free: 11.38 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7557, allocations: 0 / 0.8415 GB, free: 11.38 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004047/0.7561, allocations: 87.83 kB / 0.8416 GB, free: 11.29 MB / 0.67 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.0004056/0.7565, allocations: 166.4 kB / 0.8418 GB, free: 11.12 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004417/0.757, allocations: 171.9 kB / 0.8419 GB, free: 10.95 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.757, allocations: 4 kB / 0.8419 GB, free: 10.95 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.7572, allocations: 91.81 kB / 0.842 GB, free: 10.86 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008651/0.7581, allocations: 171.8 kB / 0.8422 GB, free: 10.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.7591, allocations: 0.6007 MB / 0.8428 GB, free: 10.05 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.7595, allocations: 0.7794 MB / 0.8435 GB, free: 9.242 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001852/0.7597, allocations: 66.94 kB / 0.8436 GB, free: 9.18 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.232e-05/0.7598, allocations: 23.44 kB / 0.8436 GB, free: 9.156 MB / 0.67 GB Notification: Performance of SimCode: time 2.41e-07/0.7598, allocations: 0 / 0.8436 GB, free: 9.156 MB / 0.67 GB Notification: Performance of Templates: time 0.0102/0.77, allocations: 5.771 MB / 0.8493 GB, free: 3.484 MB / 0.67 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)