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.0008897/0.0008897, allocations: 91.61 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 177.1 kB / 16.92 MB, free: 6.652 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.369/1.369, allocations: 223.3 MB / 241 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.023/1.023, allocations: 135.3 MB / 427.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.000345, allocations: 8 kB / 0.5082 GB, free: 4.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1691, allocations: 82.31 MB / 0.5886 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4676/0.6368, allocations: 162.9 MB / 0.7477 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002819/0.6396, allocations: 1.54 MB / 0.7492 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002889/0.6399, allocations: 18.75 kB / 0.7493 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004262/0.6404, allocations: 109.1 kB / 0.7494 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001757/0.6421, allocations: 0.6698 MB / 0.75 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.6438, allocations: 0.5483 MB / 0.7506 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001195/0.645, allocations: 0.9682 MB / 0.7515 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003371/0.6454, allocations: 196.5 kB / 0.7517 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005423/0.6459, allocations: 297.7 kB / 0.752 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000324/0.6463, allocations: 228.2 kB / 0.7522 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.521e-05/0.6463, allocations: 20.88 kB / 0.7522 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001818/0.6482, allocations: 1.015 MB / 0.7532 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.6483, allocations: 103.2 kB / 0.7533 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.6485, allocations: 174.8 kB / 0.7535 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006291/0.6491, allocations: 499.2 kB / 0.7539 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6491, allocations: 0 / 0.7539 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.023e-06/0.6491, allocations: 0 / 0.7539 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.6492, allocations: 0 / 0.7539 GB, free: 1.922 MB / 0.5606 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.0009765/0.6501, allocations: 0.6093 MB / 0.7545 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.6502, allocations: 8.031 kB / 0.7545 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.6513, allocations: 148.4 kB / 0.7547 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004211/0.6517, allocations: 311.2 kB / 0.755 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.6518, allocations: 13.19 kB / 0.755 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.199e-05/0.6518, allocations: 24.5 kB / 0.755 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004663/0.6523, allocations: 285.7 kB / 0.7553 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.6523, allocations: 1.562 kB / 0.7553 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.6523, allocations: 7.281 kB / 0.7553 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.6524, allocations: 10.17 kB / 0.7553 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003971/0.6528, allocations: 208.5 kB / 0.7555 GB, free: 0.6953 MB / 0.5606 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.001351/0.6541, allocations: 1.217 MB / 0.7567 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.6544, allocations: 138.7 kB / 0.7568 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.6546, allocations: 102 kB / 0.7569 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006009/0.6552, allocations: 317.9 kB / 0.7572 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.6552, allocations: 34.55 kB / 0.7573 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 2.916e-06/0.6553, allocations: 0 / 0.7573 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0007663/0.656, allocations: 309.3 kB / 0.7576 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.6561, allocations: 52.81 kB / 0.7576 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/0.6564, allocations: 311.1 kB / 0.7579 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.6564, allocations: 32.67 kB / 0.7579 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.6566, allocations: 180.9 kB / 0.7581 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/0.6566, allocations: 44.27 kB / 0.7581 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-05/0.6567, allocations: 31.95 kB / 0.7582 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.6568, allocations: 337.4 kB / 0.7585 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.657, allocations: 68.02 kB / 0.7586 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.6572, allocations: 136.3 kB / 0.7587 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/0.6575, allocations: 205 kB / 0.7589 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.6576, allocations: 4 kB / 0.7589 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004752/0.658, allocations: 249.1 kB / 0.7591 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.6581, allocations: 8 kB / 0.7591 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.6581, allocations: 0 / 0.7591 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.6581, allocations: 4 kB / 0.7591 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.6583, allocations: 39.97 kB / 0.7592 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.6583, allocations: 11.88 kB / 0.7592 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/0.6586, allocations: 43.73 kB / 0.7592 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.555e-05/0.6586, allocations: 9.25 kB / 0.7592 GB, free: 13.43 MB / 0.5762 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.0001367/0.6587, allocations: 149.8 kB / 0.7594 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.06e-05/0.6588, allocations: 35.62 kB / 0.7594 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004829/0.6593, allocations: 224.9 kB / 0.7596 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.6593, allocations: 4 kB / 0.7596 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.6593, allocations: 0.875 kB / 0.7596 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6593, allocations: 0 / 0.7596 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.6603, allocations: 0.6913 MB / 0.7603 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.6604, allocations: 0 / 0.7603 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.6605, allocations: 44.12 kB / 0.7604 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.6606, allocations: 7.938 kB / 0.7604 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.6606, allocations: 3.625 kB / 0.7604 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.6606, allocations: 4 kB / 0.7604 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.6606, allocations: 4 kB / 0.7604 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006495/0.6613, allocations: 447.9 kB / 0.7608 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.6614, allocations: 132.8 kB / 0.7609 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/0.6614, allocations: 7.938 kB / 0.7609 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.6616, allocations: 19.97 kB / 0.761 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.305e-05/0.6617, allocations: 23.98 kB / 0.761 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.6617, allocations: 4 kB / 0.761 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002117/0.6619, allocations: 227 kB / 0.7612 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6619, allocations: 0 / 0.7612 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004039/0.6623, allocations: 83.91 kB / 0.7613 GB, free: 11.21 MB / 0.5762 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.0004095/0.6628, allocations: 169.4 kB / 0.7614 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004266/0.6632, allocations: 179.8 kB / 0.7616 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.6632, allocations: 4.188 kB / 0.7616 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.6634, allocations: 91.83 kB / 0.7617 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009864/0.6644, allocations: 170 kB / 0.7619 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.6654, allocations: 0.7583 MB / 0.7626 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.6658, allocations: 0.7719 MB / 0.7634 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.284e-05/0.6659, allocations: 27.44 kB / 0.7634 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.6659, allocations: 0 / 0.7634 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of Templates: time 0.007269/0.6732, allocations: 4.748 MB / 0.768 GB, free: 4.305 MB / 0.5762 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)