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/Complex 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) 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-master/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001248, allocations: 174.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8765/0.8765, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 221.3 MB / 400.4 MB, free: 5.828 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 89.39 kB / 483.3 MB, free: 5.848 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.513e-05/5.522e-05, allocations: 4.406 kB / 0.56 GB, free: 87.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1673, allocations: 82.3 MB / 0.6404 GB, free: 7.84 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.961/5.129, allocations: 1.869 GB / 2.51 GB, free: 27.35 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003792/5.129, allocations: 87.45 kB / 2.51 GB, free: 27.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.998/6.127, allocations: 246.7 MB / 2.751 GB, free: 59.04 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.263e-06/6.127, allocations: 0 / 2.751 GB, free: 59.04 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.105e-05/6.127, allocations: 11.98 kB / 2.751 GB, free: 59.03 MB / 0.6823 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.001373/6.129, allocations: 0.635 MB / 2.751 GB, free: 58.35 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/6.129, allocations: 8.031 kB / 2.751 GB, free: 58.34 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/6.13, allocations: 151.4 kB / 2.751 GB, free: 58.19 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005828/6.131, allocations: 309.8 kB / 2.752 GB, free: 57.85 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/6.131, allocations: 20.44 kB / 2.752 GB, free: 57.83 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.186e-05/6.131, allocations: 24 kB / 2.752 GB, free: 57.81 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000426/6.131, allocations: 251.6 kB / 2.752 GB, free: 57.54 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/6.131, allocations: 3.938 kB / 2.752 GB, free: 57.54 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/6.131, allocations: 12 kB / 2.752 GB, free: 57.52 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/6.131, allocations: 4 kB / 2.752 GB, free: 57.52 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002788/6.132, allocations: 159.8 kB / 2.752 GB, free: 57.36 MB / 0.6823 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.001462/6.133, allocations: 1.209 MB / 2.753 GB, free: 56.05 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/6.133, allocations: 110.5 kB / 2.753 GB, free: 55.93 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.351e-05/6.133, allocations: 68.8 kB / 2.753 GB, free: 55.86 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004669/6.134, allocations: 303.2 kB / 2.754 GB, free: 55.51 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/6.134, allocations: 42.5 kB / 2.754 GB, free: 55.46 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 1.793e-06/6.134, allocations: 0 / 2.754 GB, free: 55.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0005233/6.134, allocations: 183.7 kB / 2.754 GB, free: 55.28 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/6.134, allocations: 51.41 kB / 2.754 GB, free: 55.21 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/6.135, allocations: 278.7 kB / 2.754 GB, free: 54.94 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/6.135, allocations: 33.7 kB / 2.754 GB, free: 54.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.204e-05/6.135, allocations: 176.1 kB / 2.754 GB, free: 54.72 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/6.135, allocations: 55.28 kB / 2.755 GB, free: 54.67 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-06/6.135, allocations: 7.938 kB / 2.755 GB, free: 54.66 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.127e-05/6.135, allocations: 342.8 kB / 2.755 GB, free: 54.32 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.983e-05/6.135, allocations: 52.36 kB / 2.755 GB, free: 54.27 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/6.135, allocations: 103.6 kB / 2.755 GB, free: 54.14 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/6.135, allocations: 56.59 kB / 2.755 GB, free: 54.09 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/6.135, allocations: 4 kB / 2.755 GB, free: 54.08 MB / 0.6823 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003002/6.136, allocations: 214.6 kB / 2.755 GB, free: 53.87 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/6.136, allocations: 7.953 kB / 2.755 GB, free: 53.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/6.136, allocations: 4 kB / 2.755 GB, free: 53.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/6.136, allocations: 0 / 2.755 GB, free: 53.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/6.136, allocations: 43.92 kB / 2.755 GB, free: 53.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/6.136, allocations: 4 kB / 2.755 GB, free: 53.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000253/6.136, allocations: 43.81 kB / 2.755 GB, free: 53.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/6.136, allocations: 12 kB / 2.755 GB, free: 53.75 MB / 0.6823 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.632e-05/6.136, allocations: 112.9 kB / 2.756 GB, free: 53.64 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.812e-05/6.136, allocations: 23.72 kB / 2.756 GB, free: 53.61 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003053/6.137, allocations: 184.4 kB / 2.756 GB, free: 53.42 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/6.137, allocations: 11.94 kB / 2.756 GB, free: 53.41 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/6.137, allocations: 0 / 2.756 GB, free: 53.41 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.237e-06/6.137, allocations: 0 / 2.756 GB, free: 53.41 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007522/6.138, allocations: 0.6406 MB / 2.756 GB, free: 52.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/6.138, allocations: 0 / 2.756 GB, free: 52.69 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/6.138, allocations: 31.98 kB / 2.756 GB, free: 52.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/6.138, allocations: 4 kB / 2.756 GB, free: 52.66 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/6.138, allocations: 15.92 kB / 2.756 GB, free: 52.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/6.138, allocations: 0 / 2.756 GB, free: 52.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/6.138, allocations: 4 kB / 2.756 GB, free: 52.64 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000417/6.138, allocations: 467.3 kB / 2.757 GB, free: 52.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/6.138, allocations: 116.7 kB / 2.757 GB, free: 51.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.417e-05/6.138, allocations: 8 kB / 2.757 GB, free: 51.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/6.139, allocations: 20.05 kB / 2.757 GB, free: 51.94 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.837e-05/6.139, allocations: 16 kB / 2.757 GB, free: 51.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/6.139, allocations: 12 kB / 2.757 GB, free: 51.91 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001736/6.139, allocations: 222.2 kB / 2.757 GB, free: 51.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/6.139, allocations: 0 / 2.757 GB, free: 51.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007551/6.14, allocations: 171.9 kB / 2.757 GB, free: 51.53 MB / 0.6823 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.001624/6.141, allocations: 1.031 MB / 2.758 GB, free: 50.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002808/6.142, allocations: 135.8 kB / 2.759 GB, free: 50.36 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/6.142, allocations: 3.938 kB / 2.759 GB, free: 50.36 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/6.142, allocations: 72.05 kB / 2.759 GB, free: 50.29 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008194/6.142, allocations: 150.5 kB / 2.759 GB, free: 50.14 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007777/6.143, allocations: 433.4 kB / 2.759 GB, free: 49.67 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/6.144, allocations: 0.7838 MB / 2.76 GB, free: 48.86 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002539/6.144, allocations: 63.08 kB / 2.76 GB, free: 48.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.062e-05/6.144, allocations: 23.44 kB / 2.76 GB, free: 48.78 MB / 0.6823 GB Notification: Performance of SimCode: time 3.21e-07/6.144, allocations: 0 / 2.76 GB, free: 48.78 MB / 0.6823 GB Notification: Performance of Templates: time 0.02533/6.169, allocations: 20.69 MB / 2.78 GB, free: 28.14 MB / 0.6823 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)