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.001182/0.001182, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007647/0.007648, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.525/1.525, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.812/0.812, allocations: 132.4 MB / 423.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003791/0.0003789, allocations: 15.94 kB / 0.504 GB, free: 3.957 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.502/0.5024, allocations: 81.57 MB / 0.5837 GB, free: 4.09 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.217/0.7194, allocations: 163 MB / 0.7428 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003144/0.7226, allocations: 1.542 MB / 0.7443 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005108/0.7231, allocations: 15.94 kB / 0.7443 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006003/0.7237, allocations: 119.2 kB / 0.7445 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002213/0.726, allocations: 0.6536 MB / 0.7451 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.7278, allocations: 0.556 MB / 0.7456 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001344/0.7291, allocations: 0.9742 MB / 0.7466 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005071/0.7297, allocations: 201.1 kB / 0.7468 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008156/0.7305, allocations: 298.8 kB / 0.7471 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004302/0.7309, allocations: 227 kB / 0.7473 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.739e-05/0.731, allocations: 16 kB / 0.7473 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00188/0.7329, allocations: 1.017 MB / 0.7483 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.7331, allocations: 91.7 kB / 0.7484 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002323/0.7333, allocations: 180.9 kB / 0.7486 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001497/0.7348, allocations: 0.7595 MB / 0.7493 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.7348, allocations: 0 / 0.7493 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7348, allocations: 0 / 0.7493 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.582e-05/0.7348, allocations: 0 / 0.7493 GB, free: 6.316 MB / 0.5762 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.001093/0.7359, allocations: 0.5999 MB / 0.7499 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.736, allocations: 8.031 kB / 0.7499 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/0.7373, allocations: 155.5 kB / 0.75 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004724/0.7378, allocations: 301.7 kB / 0.7503 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.7378, allocations: 20.38 kB / 0.7503 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.935e-05/0.7379, allocations: 27.94 kB / 0.7504 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005256/0.7384, allocations: 279.5 kB / 0.7506 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.7384, allocations: 0 / 0.7506 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/0.7384, allocations: 12 kB / 0.7506 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.7385, allocations: 4 kB / 0.7506 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004278/0.7389, allocations: 207.8 kB / 0.7508 GB, free: 4.613 MB / 0.5762 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.001727/0.7406, allocations: 1.221 MB / 0.752 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003456/0.741, allocations: 142.4 kB / 0.7522 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/0.7412, allocations: 100.8 kB / 0.7523 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007047/0.7419, allocations: 319.2 kB / 0.7526 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.608e-05/0.742, allocations: 34.5 kB / 0.7526 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.693e-06/0.742, allocations: 0 / 0.7526 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.000875/0.7429, allocations: 297.4 kB / 0.7529 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.7429, allocations: 51.41 kB / 0.7529 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003874/0.7433, allocations: 316.5 kB / 0.7532 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.7434, allocations: 33.64 kB / 0.7533 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.7436, allocations: 184.1 kB / 0.7535 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.123e-05/0.7436, allocations: 51.2 kB / 0.7535 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.908e-05/0.7437, allocations: 25.72 kB / 0.7535 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.7439, allocations: 338.8 kB / 0.7538 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.7441, allocations: 71.95 kB / 0.7539 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.7443, allocations: 137 kB / 0.754 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004036/0.7448, allocations: 199.8 kB / 0.7542 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.7448, allocations: 0 / 0.7542 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005673/0.7453, allocations: 245.2 kB / 0.7545 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.176e-05/0.7454, allocations: 7.984 kB / 0.7545 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.7454, allocations: 4 kB / 0.7545 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.658e-05/0.7454, allocations: 0 / 0.7545 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/0.7457, allocations: 47.92 kB / 0.7545 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.7457, allocations: 0 / 0.7545 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002789/0.746, allocations: 39.73 kB / 0.7546 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/0.746, allocations: 19.98 kB / 0.7546 GB, free: 0.5078 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.0001903/0.7462, allocations: 153.7 kB / 0.7547 GB, free: 356 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.048e-05/0.7463, allocations: 27.62 kB / 0.7548 GB, free: 328 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004892/0.7468, allocations: 235.7 kB / 0.755 GB, free: 92 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.7468, allocations: 144 / 0.755 GB, free: 92 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.7468, allocations: 0 / 0.755 GB, free: 92 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.7468, allocations: 3.984 kB / 0.755 GB, free: 88 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.748, allocations: 0.6913 MB / 0.7557 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/0.748, allocations: 4 kB / 0.7557 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.7481, allocations: 40.12 kB / 0.7557 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.7482, allocations: 4 kB / 0.7557 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.7482, allocations: 8 kB / 0.7557 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.283e-06/0.7482, allocations: 4 kB / 0.7557 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.7482, allocations: 7.875 kB / 0.7557 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006906/0.7489, allocations: 449 kB / 0.7562 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.749, allocations: 128.5 kB / 0.7563 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.238e-05/0.7491, allocations: 4 kB / 0.7563 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.7493, allocations: 19.98 kB / 0.7563 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.7494, allocations: 12.05 kB / 0.7563 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.7494, allocations: 15.98 kB / 0.7563 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002268/0.7496, allocations: 223.1 kB / 0.7565 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7496, allocations: 0 / 0.7565 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004109/0.75, allocations: 79.89 kB / 0.7566 GB, free: 14.28 MB / 0.5919 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.0004305/0.7505, allocations: 175.3 kB / 0.7568 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004639/0.7509, allocations: 179.7 kB / 0.757 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.751, allocations: 0 / 0.757 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001941/0.7512, allocations: 92.08 kB / 0.757 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.7522, allocations: 165 kB / 0.7572 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.7533, allocations: 0.7138 MB / 0.7579 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.7537, allocations: 0.7758 MB / 0.7587 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002636/0.7539, allocations: 66.92 kB / 0.7587 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.302e-05/0.754, allocations: 23.44 kB / 0.7587 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of SimCode: time 5.21e-07/0.754, allocations: 3.938 kB / 0.7587 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of Templates: time 0.01219/0.7662, allocations: 5.438 MB / 0.7641 GB, free: 6.699 MB / 0.5919 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)