Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.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.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity") translateModel(IDEAS.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 182.1 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.728/0.728, allocations: 133.4 MB / 150.1 MB, free: 11.14 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.462/1.462, allocations: 222.9 MB / 404.7 MB, free: 6.09 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.001094/0.001094, allocations: 107.6 kB / 485.9 MB, free: 7.258 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001045/0.001045, allocations: 55.92 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.171, allocations: 80.42 MB / 0.6421 GB, free: 5.461 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.5747/0.7458, allocations: 165.1 MB / 0.8034 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.003366/0.7492, allocations: 1.582 MB / 0.805 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003779/0.7496, allocations: 7.938 kB / 0.805 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0005013/0.7501, allocations: 115.2 kB / 0.8051 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.001832/0.752, allocations: 0.677 MB / 0.8057 GB, free: 9.723 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.7537, allocations: 0.5509 MB / 0.8063 GB, free: 9.176 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.001082/0.7548, allocations: 0.9867 MB / 0.8072 GB, free: 8.188 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003859/0.7552, allocations: 213 kB / 0.8074 GB, free: 7.984 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006799/0.7559, allocations: 314.7 kB / 0.8077 GB, free: 7.676 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003338/0.7562, allocations: 239 kB / 0.808 GB, free: 7.441 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 4.145e-05/0.7563, allocations: 12 kB / 0.808 GB, free: 7.43 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001834/0.7581, allocations: 1.025 MB / 0.809 GB, free: 6.402 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.7583, allocations: 99.7 kB / 0.8091 GB, free: 6.305 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.7585, allocations: 155.2 kB / 0.8092 GB, free: 6.152 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.7596, allocations: 0.779 MB / 0.81 GB, free: 5.371 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.7596, allocations: 0 / 0.81 GB, free: 5.371 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7596, allocations: 0 / 0.81 GB, free: 5.371 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.7596, allocations: 0 / 0.81 GB, free: 5.371 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001125/0.7608, allocations: 0.6723 MB / 0.8106 GB, free: 4.648 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.7608, allocations: 8.031 kB / 0.8106 GB, free: 4.641 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.7619, allocations: 155.5 kB / 0.8108 GB, free: 4.488 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005083/0.7624, allocations: 314.5 kB / 0.8111 GB, free: 4.145 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/0.7625, allocations: 24.5 kB / 0.8111 GB, free: 4.121 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.716e-05/0.7625, allocations: 24 kB / 0.8111 GB, free: 4.098 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005617/0.7631, allocations: 281.9 kB / 0.8114 GB, free: 3.801 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.7631, allocations: 3.938 kB / 0.8114 GB, free: 3.797 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.956e-05/0.7632, allocations: 12 kB / 0.8114 GB, free: 3.785 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.7632, allocations: 4 kB / 0.8114 GB, free: 3.781 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004297/0.7636, allocations: 204.9 kB / 0.8116 GB, free: 3.582 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.001559/0.7652, allocations: 1.23 MB / 0.8128 GB, free: 2.246 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000283/0.7655, allocations: 146.4 kB / 0.813 GB, free: 2.094 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.7657, allocations: 100.7 kB / 0.8131 GB, free: 1.992 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007516/0.7665, allocations: 307.2 kB / 0.8134 GB, free: 1.637 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.7665, allocations: 30.56 kB / 0.8134 GB, free: 1.598 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=17): time 1.582e-06/0.7665, allocations: 0 / 0.8134 GB, free: 1.598 MB / 0.5417 GB Notification: Performance of matching and sorting (n=17): time 0.0008712/0.7674, allocations: 295 kB / 0.8137 GB, free: 1.305 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.7675, allocations: 51.41 kB / 0.8137 GB, free: 1.242 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00039/0.7679, allocations: 324.5 kB / 0.814 GB, free: 0.918 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.7679, allocations: 33.7 kB / 0.8141 GB, free: 0.8789 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.7681, allocations: 180.2 kB / 0.8142 GB, free: 0.6992 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.899e-05/0.7682, allocations: 59.11 kB / 0.8143 GB, free: 0.6406 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.587e-05/0.7683, allocations: 45.7 kB / 0.8143 GB, free: 0.5898 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.7685, allocations: 346.8 kB / 0.8147 GB, free: 248 kB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.7686, allocations: 63.95 kB / 0.8147 GB, free: 184 kB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/0.7689, allocations: 122.9 kB / 0.8148 GB, free: 44 kB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004081/0.7693, allocations: 201.8 kB / 0.815 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.7693, allocations: 0 / 0.815 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005131/0.7698, allocations: 263 kB / 0.8153 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.7699, allocations: 4 kB / 0.8153 GB, free: 15.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.7699, allocations: 4 kB / 0.8153 GB, free: 15.56 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.7699, allocations: 0 / 0.8153 GB, free: 15.56 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.7701, allocations: 47.91 kB / 0.8153 GB, free: 15.51 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.7702, allocations: 4.875 kB / 0.8153 GB, free: 15.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002487/0.7704, allocations: 35.77 kB / 0.8154 GB, free: 15.47 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.714e-05/0.7705, allocations: 16 kB / 0.8154 GB, free: 15.46 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 (24): * Single equations (assignments): 24 * 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.0001902/0.7707, allocations: 153.7 kB / 0.8155 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.98e-05/0.7707, allocations: 31.62 kB / 0.8156 GB, free: 15.27 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005499/0.7713, allocations: 235 kB / 0.8158 GB, free: 15.03 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.7713, allocations: 0 / 0.8158 GB, free: 15.03 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.7713, allocations: 0 / 0.8158 GB, free: 15.03 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.7713, allocations: 4 kB / 0.8158 GB, free: 15.03 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.7725, allocations: 0.7069 MB / 0.8165 GB, free: 14.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.7725, allocations: 7.938 kB / 0.8165 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.7727, allocations: 31.97 kB / 0.8165 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.7727, allocations: 8 kB / 0.8165 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.7728, allocations: 11.94 kB / 0.8165 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.7728, allocations: 7.938 kB / 0.8165 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.7728, allocations: 4.031 kB / 0.8165 GB, free: 14.17 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004628/0.7774, allocations: 2.046 MB / 0.8185 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.7776, allocations: 124.6 kB / 0.8187 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/0.7776, allocations: 8 kB / 0.8187 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.7778, allocations: 15.89 kB / 0.8187 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.644e-05/0.7779, allocations: 15.98 kB / 0.8187 GB, free: 11.78 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.7779, allocations: 20.02 kB / 0.8187 GB, free: 11.76 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000261/0.7782, allocations: 231 kB / 0.8189 GB, free: 11.54 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.984e-06/0.7782, allocations: 0 / 0.8189 GB, free: 11.54 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005412/0.7787, allocations: 115.9 kB / 0.8191 GB, free: 11.42 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 (17): * Single equations (assignments): 17 * 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.0005291/0.7793, allocations: 154.3 kB / 0.8192 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004826/0.7798, allocations: 186.4 kB / 0.8194 GB, free: 11.09 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.7798, allocations: 0 / 0.8194 GB, free: 11.09 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002219/0.78, allocations: 95.81 kB / 0.8195 GB, free: 11 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000945/0.781, allocations: 156.5 kB / 0.8196 GB, free: 10.85 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.7823, allocations: 0.8855 MB / 0.8205 GB, free: 9.902 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.7828, allocations: 0.7952 MB / 0.8213 GB, free: 9.078 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002332/0.783, allocations: 62.92 kB / 0.8213 GB, free: 9.016 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.305e-05/0.7831, allocations: 23.44 kB / 0.8213 GB, free: 8.992 MB / 0.5573 GB Notification: Performance of SimCode: time 2.2e-07/0.7831, allocations: 0 / 0.8213 GB, free: 8.992 MB / 0.5573 GB Notification: Performance of Templates: time 0.01186/0.795, allocations: 5.678 MB / 0.8269 GB, free: 3.395 MB / 0.5573 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1)