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.002034/0.002034, allocations: 105.5 kB / 16.41 MB, free: 6.023 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.002222/0.002222, allocations: 189.7 kB / 17.34 MB, free: 5.609 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7839/0.7839, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 64.73 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1715, allocations: 80.93 MB / 0.6653 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5509/0.7224, allocations: 167.3 MB / 0.8287 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003093/0.7256, allocations: 1.552 MB / 0.8303 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000521/0.7261, allocations: 10.78 kB / 0.8303 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006518/0.7268, allocations: 161.1 kB / 0.8304 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002188/0.729, allocations: 0.6922 MB / 0.8311 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00171/0.7308, allocations: 0.6017 MB / 0.8317 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009659/0.7318, allocations: 0.7065 MB / 0.8324 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00048/0.7323, allocations: 236.4 kB / 0.8326 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007608/0.733, allocations: 328.7 kB / 0.8329 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004012/0.7334, allocations: 219 kB / 0.8331 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.59e-05/0.7335, allocations: 22.19 kB / 0.8331 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001676/0.7352, allocations: 0.8766 MB / 0.834 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.7354, allocations: 108.4 kB / 0.8341 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002358/0.7356, allocations: 165.7 kB / 0.8343 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00142/0.7371, allocations: 0.7246 MB / 0.835 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.7371, allocations: 0 / 0.835 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7371, allocations: 0 / 0.835 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.682e-05/0.7371, allocations: 6.984 kB / 0.835 GB, free: 11.61 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.001196/0.7383, allocations: 0.6471 MB / 0.8356 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.7384, allocations: 11.11 kB / 0.8356 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/0.7396, allocations: 156.1 kB / 0.8358 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005988/0.7402, allocations: 316.4 kB / 0.8361 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.7402, allocations: 18.62 kB / 0.8361 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.7403, allocations: 19.72 kB / 0.8361 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005152/0.7408, allocations: 282.2 kB / 0.8364 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.7408, allocations: 0 / 0.8364 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.7409, allocations: 14.12 kB / 0.8364 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.936e-06/0.7409, allocations: 5.031 kB / 0.8364 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004116/0.7413, allocations: 197.5 kB / 0.8366 GB, free: 10.36 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.001599/0.7429, allocations: 1.216 MB / 0.8378 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002945/0.7432, allocations: 132.1 kB / 0.8379 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.7434, allocations: 96.2 kB / 0.838 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005801/0.744, allocations: 297.5 kB / 0.8383 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.7441, allocations: 41.59 kB / 0.8383 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.904e-06/0.7441, allocations: 0 / 0.8383 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0008229/0.7449, allocations: 286.5 kB / 0.8386 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.7449, allocations: 54.5 kB / 0.8386 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003335/0.7453, allocations: 309.6 kB / 0.8389 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.7453, allocations: 35.95 kB / 0.839 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.7455, allocations: 179.9 kB / 0.8391 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.933e-05/0.7455, allocations: 58.03 kB / 0.8392 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.726e-05/0.7456, allocations: 43.7 kB / 0.8392 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.7458, allocations: 350.4 kB / 0.8396 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.7459, allocations: 63.02 kB / 0.8396 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.7461, allocations: 120.7 kB / 0.8397 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003631/0.7465, allocations: 193.6 kB / 0.8399 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.7465, allocations: 0 / 0.8399 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004715/0.747, allocations: 242.6 kB / 0.8402 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.747, allocations: 7.562 kB / 0.8402 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.747, allocations: 4 kB / 0.8402 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.7471, allocations: 2.75 kB / 0.8402 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.7473, allocations: 40.45 kB / 0.8402 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.7473, allocations: 2.75 kB / 0.8402 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.7475, allocations: 33.77 kB / 0.8402 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.7475, allocations: 6.812 kB / 0.8403 GB, free: 7.293 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.0001529/0.7477, allocations: 151.9 kB / 0.8404 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.711e-05/0.7478, allocations: 34.66 kB / 0.8404 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004687/0.7482, allocations: 221.7 kB / 0.8406 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.7483, allocations: 2.312 kB / 0.8406 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.7483, allocations: 0 / 0.8406 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.7483, allocations: 0 / 0.8406 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.7493, allocations: 0.678 MB / 0.8413 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.7493, allocations: 2.094 kB / 0.8413 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.7495, allocations: 34.92 kB / 0.8413 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.324e-05/0.7495, allocations: 10.62 kB / 0.8414 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.7496, allocations: 8.875 kB / 0.8414 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.7496, allocations: 3.531 kB / 0.8414 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.7496, allocations: 2.094 kB / 0.8414 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006577/0.7502, allocations: 427 kB / 0.8418 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/0.7504, allocations: 131.4 kB / 0.8419 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.952e-05/0.7505, allocations: 6.969 kB / 0.8419 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.7506, allocations: 10.39 kB / 0.8419 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.038e-05/0.7507, allocations: 23.3 kB / 0.8419 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.7507, allocations: 4.875 kB / 0.8419 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002284/0.751, allocations: 226.9 kB / 0.8422 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.124e-06/0.751, allocations: 0 / 0.8422 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004208/0.7514, allocations: 83.25 kB / 0.8422 GB, free: 5.766 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.0004425/0.7519, allocations: 159.5 kB / 0.8424 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004672/0.7523, allocations: 180.1 kB / 0.8426 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.7523, allocations: 0 / 0.8426 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001932/0.7525, allocations: 91.97 kB / 0.8427 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009258/0.7535, allocations: 168.3 kB / 0.8428 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.7546, allocations: 0.6203 MB / 0.8434 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.755, allocations: 0.7778 MB / 0.8442 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.916e-05/0.755, allocations: 25.69 kB / 0.8442 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of SimCode: time 5.11e-07/0.7551, allocations: 0 / 0.8442 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of Templates: time 0.008916/0.764, allocations: 4.844 MB / 0.8489 GB, free: 1.742 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)