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.001461/0.001461, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001579/0.001579, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8126/0.8126, allocations: 132.2 MB / 423.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 68.03 kB / 0.582 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1522, allocations: 80.21 MB / 0.6603 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5691/0.7214, allocations: 167.4 MB / 0.8238 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00254/0.724, allocations: 1.547 MB / 0.8253 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002516/0.7242, allocations: 11.75 kB / 0.8253 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004352/0.7247, allocations: 146.4 kB / 0.8254 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001566/0.7263, allocations: 0.7035 MB / 0.8261 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.7276, allocations: 0.5961 MB / 0.8267 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006942/0.7284, allocations: 0.7047 MB / 0.8274 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003552/0.7287, allocations: 229.4 kB / 0.8276 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005183/0.7292, allocations: 342.7 kB / 0.8279 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000253/0.7295, allocations: 215.4 kB / 0.8281 GB, free: 2.434 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4e-05/0.7296, allocations: 22.34 kB / 0.8282 GB, free: 2.434 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.7308, allocations: 0.8758 MB / 0.829 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.7309, allocations: 108.8 kB / 0.8291 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.7311, allocations: 161.6 kB / 0.8293 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008778/0.7319, allocations: 0.7247 MB / 0.83 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.732, allocations: 4 kB / 0.83 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.503e-06/0.732, allocations: 0 / 0.83 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.732, allocations: 0 / 0.83 GB, free: 1.328 MB / 0.5919 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.0008638/0.7329, allocations: 0.6462 MB / 0.8306 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.7329, allocations: 10.06 kB / 0.8306 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.734, allocations: 155.5 kB / 0.8308 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004573/0.7345, allocations: 324.7 kB / 0.8311 GB, free: 380 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.7345, allocations: 15.06 kB / 0.8311 GB, free: 376 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/0.7346, allocations: 22.81 kB / 0.8311 GB, free: 368 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004582/0.735, allocations: 283.2 kB / 0.8314 GB, free: 172 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.7351, allocations: 3.938 kB / 0.8314 GB, free: 168 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.7351, allocations: 6.875 kB / 0.8314 GB, free: 164 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.7351, allocations: 4.938 kB / 0.8314 GB, free: 164 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003801/0.7355, allocations: 198 kB / 0.8316 GB, free: 72 kB / 0.5919 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.001323/0.7368, allocations: 1.208 MB / 0.8328 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.7371, allocations: 140.3 kB / 0.8329 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.7373, allocations: 97.86 kB / 0.833 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005343/0.7378, allocations: 308.5 kB / 0.8333 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.7378, allocations: 30.56 kB / 0.8333 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.7379, allocations: 0 / 0.8333 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0007239/0.7386, allocations: 286.4 kB / 0.8336 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.7386, allocations: 59.34 kB / 0.8337 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.7389, allocations: 312 kB / 0.834 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.7389, allocations: 32.52 kB / 0.834 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.7391, allocations: 182.7 kB / 0.8342 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.926e-05/0.7391, allocations: 51.17 kB / 0.8342 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.228e-05/0.7392, allocations: 46.95 kB / 0.8343 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.7393, allocations: 338.7 kB / 0.8346 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.7395, allocations: 68.48 kB / 0.8346 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.7397, allocations: 127.2 kB / 0.8348 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/0.7401, allocations: 190.9 kB / 0.835 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.7401, allocations: 0 / 0.835 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004242/0.7405, allocations: 230.3 kB / 0.8352 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.7405, allocations: 7.688 kB / 0.8352 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.7405, allocations: 4.094 kB / 0.8352 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.7406, allocations: 1.875 kB / 0.8352 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.7408, allocations: 49.09 kB / 0.8352 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.7408, allocations: 2.062 kB / 0.8352 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.741, allocations: 33.92 kB / 0.8353 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.741, allocations: 7.812 kB / 0.8353 GB, free: 13.02 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.0001399/0.7411, allocations: 150.8 kB / 0.8354 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/0.7412, allocations: 31.19 kB / 0.8354 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004386/0.7416, allocations: 221.6 kB / 0.8357 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.7417, allocations: 2.156 kB / 0.8357 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.7417, allocations: 0 / 0.8357 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.7417, allocations: 0 / 0.8357 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000959/0.7426, allocations: 0.6853 MB / 0.8363 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.7427, allocations: 2.688 kB / 0.8363 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.7428, allocations: 35.64 kB / 0.8364 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.7428, allocations: 2.719 kB / 0.8364 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.7429, allocations: 13.12 kB / 0.8364 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.7429, allocations: 5.875 kB / 0.8364 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.7429, allocations: 2.5 kB / 0.8364 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006192/0.7435, allocations: 432.6 kB / 0.8368 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.7436, allocations: 132.3 kB / 0.8369 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.262e-05/0.7437, allocations: 2.188 kB / 0.8369 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.7439, allocations: 8.656 kB / 0.8369 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/0.7439, allocations: 20.11 kB / 0.837 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.7439, allocations: 8.609 kB / 0.837 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000202/0.7441, allocations: 223 kB / 0.8372 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7441, allocations: 0 / 0.8372 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003724/0.7445, allocations: 79.86 kB / 0.8373 GB, free: 11.49 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.0003676/0.7449, allocations: 170.5 kB / 0.8374 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004119/0.7453, allocations: 181.7 kB / 0.8376 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7453, allocations: 0 / 0.8376 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001753/0.7455, allocations: 83.7 kB / 0.8377 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008618/0.7464, allocations: 171.7 kB / 0.8378 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000922/0.7473, allocations: 0.624 MB / 0.8384 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.7477, allocations: 0.7759 MB / 0.8392 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.379e-05/0.7478, allocations: 27.09 kB / 0.8392 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.7478, allocations: 0 / 0.8392 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of Templates: time 0.007495/0.7553, allocations: 4.842 MB / 0.844 GB, free: 7.465 MB / 0.6075 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)