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.006048/0.006048, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001237/0.001236, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7902/0.7902, allocations: 135.1 MB / 425.7 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 62.16 kB / 0.5856 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1653, allocations: 80.94 MB / 0.6646 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5733/0.7386, allocations: 167.4 MB / 0.8281 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003133/0.7418, allocations: 1.553 MB / 0.8296 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004864/0.7423, allocations: 10.78 kB / 0.8296 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005825/0.743, allocations: 153.2 kB / 0.8298 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002034/0.745, allocations: 0.73 MB / 0.8305 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001648/0.7467, allocations: 0.6049 MB / 0.8311 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009667/0.7476, allocations: 0.7025 MB / 0.8317 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004358/0.7481, allocations: 240.8 kB / 0.832 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007165/0.7488, allocations: 343 kB / 0.8323 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000344/0.7492, allocations: 218.6 kB / 0.8325 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.742e-05/0.7492, allocations: 26.59 kB / 0.8325 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001456/0.7507, allocations: 0.8727 MB / 0.8334 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.7509, allocations: 114.9 kB / 0.8335 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.751, allocations: 165.9 kB / 0.8337 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.7522, allocations: 0.7181 MB / 0.8344 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.7523, allocations: 6.812 kB / 0.8344 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.126e-06/0.7523, allocations: 3.984 kB / 0.8344 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.7523, allocations: 0 / 0.8344 GB, free: 11.6 MB / 0.6075 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.0009442/0.7532, allocations: 0.6468 MB / 0.835 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.7533, allocations: 10.64 kB / 0.835 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.7545, allocations: 156.6 kB / 0.8352 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005277/0.755, allocations: 319.7 kB / 0.8355 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.755, allocations: 15.84 kB / 0.8355 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.548e-05/0.7551, allocations: 22.94 kB / 0.8355 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004783/0.7556, allocations: 276.4 kB / 0.8358 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.7556, allocations: 0 / 0.8358 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.7556, allocations: 14.91 kB / 0.8358 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.7557, allocations: 4.844 kB / 0.8358 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003969/0.7561, allocations: 193.6 kB / 0.836 GB, free: 10.35 MB / 0.6075 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.001404/0.7575, allocations: 1.212 MB / 0.8372 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.7577, allocations: 133.2 kB / 0.8373 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.7579, allocations: 100.3 kB / 0.8374 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005517/0.7585, allocations: 298.2 kB / 0.8377 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.7585, allocations: 36.81 kB / 0.8377 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.7585, allocations: 7.938 kB / 0.8377 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0007211/0.7592, allocations: 282.6 kB / 0.838 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.7593, allocations: 53.62 kB / 0.838 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003227/0.7596, allocations: 316.8 kB / 0.8383 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.7596, allocations: 25.7 kB / 0.8383 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.7598, allocations: 185.7 kB / 0.8385 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.599e-05/0.7599, allocations: 61.97 kB / 0.8386 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.62e-05/0.7599, allocations: 41.27 kB / 0.8386 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.7601, allocations: 342.1 kB / 0.839 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.7603, allocations: 63.02 kB / 0.839 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.7605, allocations: 129.2 kB / 0.8391 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003569/0.7608, allocations: 187 kB / 0.8393 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.7609, allocations: 0 / 0.8393 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004447/0.7613, allocations: 246.6 kB / 0.8395 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.7613, allocations: 4.719 kB / 0.8396 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.7613, allocations: 2.531 kB / 0.8396 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.7614, allocations: 2.844 kB / 0.8396 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.7615, allocations: 37.8 kB / 0.8396 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.7616, allocations: 6.75 kB / 0.8396 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.7618, allocations: 37.86 kB / 0.8396 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.7618, allocations: 10.84 kB / 0.8396 GB, free: 7.277 MB / 0.6075 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.0001531/0.7619, allocations: 152.1 kB / 0.8398 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.762, allocations: 24.22 kB / 0.8398 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004746/0.7625, allocations: 223.6 kB / 0.84 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.7625, allocations: 0 / 0.84 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.7625, allocations: 0 / 0.84 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.7625, allocations: 2.75 kB / 0.84 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.7635, allocations: 0.6817 MB / 0.8407 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.7636, allocations: 3.312 kB / 0.8407 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.7637, allocations: 36.67 kB / 0.8407 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.7637, allocations: 6.828 kB / 0.8407 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.7638, allocations: 5.906 kB / 0.8407 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.7638, allocations: 5.5 kB / 0.8408 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.7638, allocations: 0 / 0.8408 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006679/0.7645, allocations: 440.2 kB / 0.8412 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.7646, allocations: 125.1 kB / 0.8413 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.724e-05/0.7647, allocations: 9.422 kB / 0.8413 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.7648, allocations: 8.797 kB / 0.8413 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.927e-05/0.7649, allocations: 23.16 kB / 0.8413 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.7649, allocations: 5.375 kB / 0.8413 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000256/0.7652, allocations: 226.4 kB / 0.8416 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7652, allocations: 0 / 0.8416 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000441/0.7657, allocations: 81.31 kB / 0.8416 GB, free: 5.754 MB / 0.6075 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.000473/0.7661, allocations: 164.1 kB / 0.8418 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004691/0.7666, allocations: 174.7 kB / 0.842 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.7666, allocations: 2.719 kB / 0.842 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.7668, allocations: 91.75 kB / 0.842 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000834/0.7677, allocations: 161.1 kB / 0.8422 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.7688, allocations: 0.5965 MB / 0.8428 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.7692, allocations: 0.7783 MB / 0.8435 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002067/0.7694, allocations: 67.55 kB / 0.8436 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.968e-05/0.7694, allocations: 25.31 kB / 0.8436 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.7694, allocations: 0 / 0.8436 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of Templates: time 0.01175/0.7812, allocations: 5.765 MB / 0.8493 GB, free: 1.371 MB / 0.6075 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)