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.005447/0.005447, allocations: 101.1 kB / 15.88 MB, free: 5.871 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.001162/0.001162, allocations: 192.1 kB / 16.79 MB, free: 5.816 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.375/1.375, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9597/0.9597, allocations: 135.1 MB / 425.8 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 63.81 kB / 0.5053 GB, free: 5.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1762, allocations: 80.92 MB / 0.5843 GB, free: 5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5401/0.7163, allocations: 165.1 MB / 0.7456 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003131/0.7195, allocations: 1.557 MB / 0.7471 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005072/0.72, allocations: 13.38 kB / 0.7471 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006396/0.7207, allocations: 115.7 kB / 0.7472 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0021/0.7228, allocations: 0.6776 MB / 0.7479 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001876/0.7247, allocations: 0.5374 MB / 0.7484 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001416/0.7261, allocations: 0.9732 MB / 0.7493 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000499/0.7267, allocations: 201.4 kB / 0.7495 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009025/0.7276, allocations: 305.4 kB / 0.7498 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004853/0.7281, allocations: 234.5 kB / 0.7501 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.339e-05/0.7281, allocations: 13.59 kB / 0.7501 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001979/0.7301, allocations: 1.012 MB / 0.7511 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001869/0.7303, allocations: 105.4 kB / 0.7512 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000279/0.7306, allocations: 152.9 kB / 0.7513 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009953/0.7316, allocations: 0.4952 MB / 0.7518 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.7316, allocations: 4 kB / 0.7518 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7317, allocations: 0 / 0.7518 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.7317, allocations: 0 / 0.7518 GB, free: 1.281 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.001384/0.7331, allocations: 0.653 MB / 0.7524 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.7331, allocations: 11 kB / 0.7524 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/0.7345, allocations: 153.2 kB / 0.7526 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005122/0.735, allocations: 308 kB / 0.7529 GB, free: 344 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.735, allocations: 19.91 kB / 0.7529 GB, free: 336 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.885e-05/0.7351, allocations: 21.38 kB / 0.7529 GB, free: 328 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00055/0.7357, allocations: 280.1 kB / 0.7532 GB, free: 128 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.7357, allocations: 3.984 kB / 0.7532 GB, free: 124 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.7357, allocations: 6.531 kB / 0.7532 GB, free: 120 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.7357, allocations: 13.14 kB / 0.7532 GB, free: 112 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004375/0.7362, allocations: 196.9 kB / 0.7534 GB, free: 20 kB / 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.001597/0.7378, allocations: 1.201 MB / 0.7546 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/0.7381, allocations: 137.1 kB / 0.7547 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.7383, allocations: 92.95 kB / 0.7548 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006863/0.739, allocations: 311.2 kB / 0.7551 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.739, allocations: 30.56 kB / 0.7551 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 3.517e-06/0.739, allocations: 3.984 kB / 0.7551 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0008269/0.7399, allocations: 284 kB / 0.7554 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.7399, allocations: 55.41 kB / 0.7554 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003585/0.7403, allocations: 320.5 kB / 0.7557 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.7403, allocations: 25.7 kB / 0.7558 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.7405, allocations: 180.1 kB / 0.7559 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.613e-05/0.7406, allocations: 63.17 kB / 0.756 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.692e-05/0.7407, allocations: 37.72 kB / 0.756 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.7408, allocations: 342.8 kB / 0.7564 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.741, allocations: 71.89 kB / 0.7564 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.7412, allocations: 123.8 kB / 0.7566 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003662/0.7416, allocations: 194.4 kB / 0.7567 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.7416, allocations: 0 / 0.7567 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005013/0.7421, allocations: 237.1 kB / 0.757 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.7421, allocations: 8 kB / 0.757 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.7422, allocations: 0 / 0.757 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.7422, allocations: 4 kB / 0.757 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/0.7424, allocations: 44.08 kB / 0.757 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.101e-05/0.7424, allocations: 8.625 kB / 0.757 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.7427, allocations: 31.77 kB / 0.7571 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/0.7427, allocations: 8 kB / 0.7571 GB, free: 12.25 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.0001594/0.7429, allocations: 149.8 kB / 0.7572 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.003e-05/0.743, allocations: 27.62 kB / 0.7572 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004809/0.7435, allocations: 224.3 kB / 0.7574 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.7435, allocations: 0 / 0.7574 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.7435, allocations: 0 / 0.7574 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.7435, allocations: 0 / 0.7574 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.7447, allocations: 0.6882 MB / 0.7581 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.7447, allocations: 0 / 0.7581 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.7449, allocations: 31.92 kB / 0.7582 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.7449, allocations: 7.938 kB / 0.7582 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.7449, allocations: 12.22 kB / 0.7582 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.7449, allocations: 6.172 kB / 0.7582 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.7449, allocations: 4 kB / 0.7582 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006591/0.7456, allocations: 437 kB / 0.7586 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.7457, allocations: 124.7 kB / 0.7587 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.817e-05/0.7458, allocations: 4 kB / 0.7587 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.746, allocations: 23.98 kB / 0.7587 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.124e-05/0.7461, allocations: 15.92 kB / 0.7588 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.7461, allocations: 4 kB / 0.7588 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002354/0.7463, allocations: 227 kB / 0.759 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7464, allocations: 0 / 0.759 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004208/0.7468, allocations: 83.91 kB / 0.7591 GB, free: 10.07 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.0004173/0.7472, allocations: 171.7 kB / 0.7592 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004378/0.7477, allocations: 171.6 kB / 0.7594 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.7477, allocations: 0 / 0.7594 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.7479, allocations: 92.27 kB / 0.7595 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009619/0.7488, allocations: 157 kB / 0.7596 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.75, allocations: 0.7241 MB / 0.7603 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.7504, allocations: 0.7758 MB / 0.7611 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.114e-05/0.7505, allocations: 27.44 kB / 0.7611 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/0.7505, allocations: 0 / 0.7611 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of Templates: time 0.008892/0.7594, allocations: 4.804 MB / 0.7658 GB, free: 3.184 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)