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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7671/0.7671, allocations: 130.7 MB / 138.7 MB, free: 3.512 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 221.5 MB / 391.8 MB, free: 14.2 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008948/0.0008947, allocations: 100.2 kB / 473.9 MB, free: 4.457 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.106e-05/2.097e-05, allocations: 7.984 kB / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4649/0.465, allocations: 81.57 MB / 0.6282 GB, free: 42.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.767/5.232, allocations: 1.868 GB / 2.496 GB, free: 83.63 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/5.233, allocations: 83.95 kB / 2.496 GB, free: 83.55 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.9946/6.227, allocations: 243.7 MB / 2.734 GB, free: 102.4 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.823e-06/6.227, allocations: 3.938 kB / 2.734 GB, free: 102.4 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.137e-05/6.227, allocations: 15.98 kB / 2.734 GB, free: 102.4 MB / 0.6667 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.001379/6.229, allocations: 0.6422 MB / 2.735 GB, free: 101.7 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/6.229, allocations: 8.031 kB / 2.735 GB, free: 101.7 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/6.23, allocations: 152.8 kB / 2.735 GB, free: 101.5 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005915/6.231, allocations: 306.8 kB / 2.736 GB, free: 101.2 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/6.231, allocations: 11.95 kB / 2.736 GB, free: 101.2 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.597e-05/6.231, allocations: 20 kB / 2.736 GB, free: 101.2 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002832/6.231, allocations: 136.8 kB / 2.736 GB, free: 101 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003255/6.232, allocations: 222.7 kB / 2.736 GB, free: 100.8 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/6.232, allocations: 4 kB / 2.736 GB, free: 100.8 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/6.232, allocations: 0 / 2.736 GB, free: 100.8 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/6.232, allocations: 4 kB / 2.736 GB, free: 100.8 MB / 0.6667 GB Warning: The model contains alias variables with conflicting start and/or 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.001325/6.233, allocations: 1.145 MB / 2.737 GB, free: 99.55 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/6.233, allocations: 102.5 kB / 2.737 GB, free: 99.44 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/6.233, allocations: 60.84 kB / 2.737 GB, free: 99.38 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000456/6.234, allocations: 299.3 kB / 2.737 GB, free: 99.03 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/6.234, allocations: 34.56 kB / 2.738 GB, free: 98.99 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=15): time 3.336e-06/6.234, allocations: 0 / 2.738 GB, free: 98.99 MB / 0.6667 GB Notification: Performance of matching and sorting (n=15): time 0.0006425/6.234, allocations: 213.3 kB / 2.738 GB, free: 98.77 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/6.234, allocations: 55.41 kB / 2.738 GB, free: 98.71 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/6.235, allocations: 198.4 kB / 2.738 GB, free: 98.5 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/6.235, allocations: 29.7 kB / 2.738 GB, free: 98.46 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 9.296e-05/6.235, allocations: 188 kB / 2.738 GB, free: 98.28 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/6.235, allocations: 47.3 kB / 2.738 GB, free: 98.23 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-06/6.235, allocations: 0 / 2.738 GB, free: 98.23 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.83e-05/6.235, allocations: 334.8 kB / 2.739 GB, free: 97.89 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.155e-05/6.235, allocations: 44.38 kB / 2.739 GB, free: 97.85 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/6.235, allocations: 103.4 kB / 2.739 GB, free: 97.73 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002187/6.235, allocations: 97.11 kB / 2.739 GB, free: 97.63 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/6.235, allocations: 4 kB / 2.739 GB, free: 97.63 MB / 0.6667 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003716/6.236, allocations: 213.2 kB / 2.739 GB, free: 97.41 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/6.236, allocations: 4.625 kB / 2.739 GB, free: 97.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/6.236, allocations: 4 kB / 2.739 GB, free: 97.41 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/6.236, allocations: 96 / 2.739 GB, free: 97.41 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/6.236, allocations: 47.91 kB / 2.739 GB, free: 97.36 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/6.236, allocations: 7.953 kB / 2.739 GB, free: 97.35 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/6.236, allocations: 35.97 kB / 2.739 GB, free: 97.32 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/6.236, allocations: 8 kB / 2.739 GB, free: 97.31 MB / 0.6667 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.815e-05/6.236, allocations: 112.9 kB / 2.739 GB, free: 97.19 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/6.236, allocations: 27.7 kB / 2.739 GB, free: 97.16 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003846/6.237, allocations: 189.5 kB / 2.739 GB, free: 96.98 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/6.237, allocations: 4 kB / 2.739 GB, free: 96.98 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/6.237, allocations: 4 kB / 2.739 GB, free: 96.97 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/6.237, allocations: 3.953 kB / 2.739 GB, free: 96.97 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008095/6.238, allocations: 0.6139 MB / 2.74 GB, free: 96.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/6.238, allocations: 3.938 kB / 2.74 GB, free: 96.29 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/6.238, allocations: 39.92 kB / 2.74 GB, free: 96.25 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-06/6.238, allocations: 7.953 kB / 2.74 GB, free: 96.24 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/6.238, allocations: 4 kB / 2.74 GB, free: 96.23 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/6.238, allocations: 3.984 kB / 2.74 GB, free: 96.23 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/6.238, allocations: 4 kB / 2.74 GB, free: 96.23 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005042/6.238, allocations: 465.1 kB / 2.741 GB, free: 95.69 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/6.238, allocations: 116.7 kB / 2.741 GB, free: 95.56 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.909e-05/6.239, allocations: 4 kB / 2.741 GB, free: 95.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/6.239, allocations: 23.95 kB / 2.741 GB, free: 95.53 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/6.239, allocations: 19.91 kB / 2.741 GB, free: 95.51 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/6.239, allocations: 8 kB / 2.741 GB, free: 95.5 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001181/6.239, allocations: 158 kB / 2.741 GB, free: 95.35 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.41e-07/6.239, allocations: 0 / 2.741 GB, free: 95.35 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006168/6.24, allocations: 143.8 kB / 2.741 GB, free: 95.21 MB / 0.6667 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001703/6.241, allocations: 1.186 MB / 2.742 GB, free: 94.02 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002477/6.242, allocations: 121.2 kB / 2.742 GB, free: 93.9 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/6.242, allocations: 8.188 kB / 2.742 GB, free: 93.89 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 9.518e-05/6.242, allocations: 63.91 kB / 2.742 GB, free: 93.83 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006635/6.242, allocations: 101 kB / 2.742 GB, free: 93.73 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007445/6.243, allocations: 416.1 kB / 2.743 GB, free: 93.29 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/6.243, allocations: 0.7874 MB / 2.744 GB, free: 92.47 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002094/6.244, allocations: 46.05 kB / 2.744 GB, free: 92.43 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.057e-05/6.244, allocations: 19.44 kB / 2.744 GB, free: 92.41 MB / 0.6667 GB Notification: Performance of SimCode: time 3.71e-07/6.244, allocations: 0 / 2.744 GB, free: 92.41 MB / 0.6667 GB Notification: Performance of Templates: time 0.01523/6.259, allocations: 9.8 MB / 2.753 GB, free: 82.68 MB / 0.6667 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)