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.001091/0.001091, allocations: 183.4 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7738/0.7738, allocations: 133.3 MB / 150.1 MB, free: 11.17 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.502/1.502, allocations: 222.9 MB / 404.7 MB, free: 6.156 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.001028/0.001028, allocations: 103.5 kB / 485.9 MB, free: 7.273 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 55.92 kB / 0.5636 GB, free: 69.97 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1883, allocations: 80.43 MB / 0.6421 GB, free: 5.473 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5922/0.7806, allocations: 165.1 MB / 0.8034 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.002878/0.7835, allocations: 1.551 MB / 0.8049 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000359/0.7839, allocations: 11.94 kB / 0.8049 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0004717/0.7844, allocations: 115.2 kB / 0.805 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.001696/0.7861, allocations: 0.673 MB / 0.8057 GB, free: 9.797 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.7876, allocations: 0.5486 MB / 0.8062 GB, free: 9.25 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.001233/0.7889, allocations: 0.9781 MB / 0.8072 GB, free: 8.27 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003749/0.7893, allocations: 201.2 kB / 0.8073 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006419/0.7899, allocations: 306.7 kB / 0.8076 GB, free: 7.777 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002994/0.7902, allocations: 231 kB / 0.8079 GB, free: 7.551 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 4.241e-05/0.7903, allocations: 20 kB / 0.8079 GB, free: 7.531 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001668/0.792, allocations: 1.005 MB / 0.8089 GB, free: 6.523 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.7921, allocations: 99.69 kB / 0.809 GB, free: 6.426 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.7923, allocations: 167.1 kB / 0.8091 GB, free: 6.262 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.7933, allocations: 0.7634 MB / 0.8099 GB, free: 5.496 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.7933, allocations: 0 / 0.8099 GB, free: 5.496 MB / 0.5417 GB Notification: Performance of FrontEnd: time 7.52e-07/0.7934, allocations: 0 / 0.8099 GB, free: 5.496 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.7934, allocations: 0 / 0.8099 GB, free: 5.496 MB / 0.5417 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.00101/0.7944, allocations: 0.6505 MB / 0.8105 GB, free: 4.797 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.7944, allocations: 8.031 kB / 0.8105 GB, free: 4.789 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.7956, allocations: 155.4 kB / 0.8107 GB, free: 4.637 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004544/0.7961, allocations: 309.6 kB / 0.8109 GB, free: 4.293 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.7961, allocations: 20.44 kB / 0.811 GB, free: 4.273 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.157e-05/0.7961, allocations: 16 kB / 0.811 GB, free: 4.258 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004715/0.7966, allocations: 283.4 kB / 0.8113 GB, free: 3.957 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.7966, allocations: 0 / 0.8113 GB, free: 3.957 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/0.7967, allocations: 12.69 kB / 0.8113 GB, free: 3.945 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.7967, allocations: 4 kB / 0.8113 GB, free: 3.941 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003955/0.7971, allocations: 195.8 kB / 0.8115 GB, free: 3.75 MB / 0.5417 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.001398/0.7985, allocations: 1.213 MB / 0.8126 GB, free: 2.434 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.7988, allocations: 138.4 kB / 0.8128 GB, free: 2.289 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/0.799, allocations: 86.94 kB / 0.8129 GB, free: 2.203 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006457/0.7997, allocations: 307.2 kB / 0.8131 GB, free: 1.848 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.7997, allocations: 38.56 kB / 0.8132 GB, free: 1.801 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/0.7997, allocations: 0 / 0.8132 GB, free: 1.801 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15): time 0.0007614/0.8005, allocations: 280.2 kB / 0.8135 GB, free: 1.523 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.8005, allocations: 55.41 kB / 0.8135 GB, free: 1.457 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003314/0.8009, allocations: 312.5 kB / 0.8138 GB, free: 1.145 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.8009, allocations: 29.7 kB / 0.8138 GB, free: 1.109 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.8011, allocations: 188 kB / 0.814 GB, free: 0.918 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.8011, allocations: 55.2 kB / 0.8141 GB, free: 0.8633 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.131e-05/0.8012, allocations: 45.7 kB / 0.8141 GB, free: 0.8125 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.8014, allocations: 338.8 kB / 0.8144 GB, free: 484 kB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.8015, allocations: 59.95 kB / 0.8145 GB, free: 424 kB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/0.8018, allocations: 131.5 kB / 0.8146 GB, free: 276 kB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/0.8021, allocations: 187.5 kB / 0.8148 GB, free: 72 kB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.8021, allocations: 11.88 kB / 0.8148 GB, free: 60 kB / 0.5417 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004594/0.8026, allocations: 245.2 kB / 0.815 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.8026, allocations: 4 kB / 0.815 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.8026, allocations: 7.938 kB / 0.815 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.8027, allocations: 0 / 0.815 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.8029, allocations: 39.97 kB / 0.8151 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.8029, allocations: 4 kB / 0.8151 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.8031, allocations: 35.86 kB / 0.8151 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.8032, allocations: 8 kB / 0.8151 GB, free: 15.71 MB / 0.5573 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.0001574/0.8034, allocations: 155 kB / 0.8153 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.252e-05/0.8034, allocations: 31.62 kB / 0.8153 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004917/0.8039, allocations: 213.2 kB / 0.8155 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.8039, allocations: 7.875 kB / 0.8155 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.8039, allocations: 3.984 kB / 0.8155 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.804, allocations: 4 kB / 0.8155 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.805, allocations: 0.6833 MB / 0.8162 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.805, allocations: 4 kB / 0.8162 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.8052, allocations: 31.92 kB / 0.8162 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.8052, allocations: 3.938 kB / 0.8162 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.8052, allocations: 4 kB / 0.8162 GB, free: 14.49 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.8053, allocations: 7.984 kB / 0.8162 GB, free: 14.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.8053, allocations: 0 / 0.8162 GB, free: 14.48 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004336/0.8096, allocations: 2.031 MB / 0.8182 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.8098, allocations: 120.8 kB / 0.8183 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.8098, allocations: 11.98 kB / 0.8184 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.81, allocations: 15.92 kB / 0.8184 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.81, allocations: 27.95 kB / 0.8184 GB, free: 12.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.8101, allocations: 4 kB / 0.8184 GB, free: 12.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002211/0.8103, allocations: 227 kB / 0.8186 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8103, allocations: 0 / 0.8186 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005033/0.8108, allocations: 111.9 kB / 0.8187 GB, free: 11.77 MB / 0.5573 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.0004683/0.8113, allocations: 169.2 kB / 0.8189 GB, free: 11.61 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004196/0.8117, allocations: 163.8 kB / 0.819 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.8117, allocations: 0 / 0.819 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.8119, allocations: 92.52 kB / 0.8191 GB, free: 11.36 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000904/0.8128, allocations: 155.3 kB / 0.8193 GB, free: 11.21 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.8139, allocations: 0.8371 MB / 0.8201 GB, free: 10.31 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.8143, allocations: 0.7876 MB / 0.8209 GB, free: 9.496 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002126/0.8145, allocations: 68.33 kB / 0.8209 GB, free: 9.43 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.039e-05/0.8146, allocations: 23.44 kB / 0.821 GB, free: 9.406 MB / 0.5573 GB Notification: Performance of SimCode: time 2.5e-07/0.8146, allocations: 0 / 0.821 GB, free: 9.406 MB / 0.5573 GB Notification: Performance of Templates: time 0.01022/0.8248, allocations: 5.598 MB / 0.8264 GB, free: 3.891 MB / 0.5573 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)