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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006916/0.006916, allocations: 102.8 kB / 15.73 MB, free: 5.992 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.001307/0.001307, allocations: 193.2 kB / 16.67 MB, free: 5.914 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.798/0.798, allocations: 135.1 MB / 425.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 68.42 kB / 0.5856 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1994, allocations: 80.94 MB / 0.6647 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.5508/0.7502, allocations: 167.4 MB / 0.8281 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002884/0.7531, allocations: 1.545 MB / 0.8296 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003204/0.7535, allocations: 19.72 kB / 0.8297 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005099/0.754, allocations: 146 kB / 0.8298 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001711/0.7558, allocations: 0.7379 MB / 0.8305 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.7572, allocations: 0.609 MB / 0.8311 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007264/0.758, allocations: 0.7259 MB / 0.8318 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003517/0.7583, allocations: 234.9 kB / 0.8321 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006205/0.759, allocations: 361.7 kB / 0.8324 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000264/0.7593, allocations: 221.7 kB / 0.8326 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.106e-05/0.7593, allocations: 28.75 kB / 0.8326 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.7607, allocations: 0.8768 MB / 0.8335 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.7609, allocations: 112 kB / 0.8336 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001896/0.7611, allocations: 168.9 kB / 0.8338 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.7621, allocations: 0.7383 MB / 0.8345 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.7621, allocations: 3.031 kB / 0.8345 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7621, allocations: 0 / 0.8345 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.7622, allocations: 0 / 0.8345 GB, free: 11.51 MB / 0.6075 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.0009474/0.7631, allocations: 0.6595 MB / 0.8351 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.7632, allocations: 11.77 kB / 0.8351 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.7643, allocations: 155.5 kB / 0.8353 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005595/0.7649, allocations: 334.7 kB / 0.8356 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.7649, allocations: 20.19 kB / 0.8356 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.409e-05/0.765, allocations: 22.84 kB / 0.8357 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004777/0.7654, allocations: 286.3 kB / 0.8359 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.7655, allocations: 0 / 0.8359 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.7655, allocations: 10.12 kB / 0.8359 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.7655, allocations: 4.719 kB / 0.8359 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003867/0.7659, allocations: 204.1 kB / 0.8361 GB, free: 10.23 MB / 0.6075 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.001408/0.7673, allocations: 1.233 MB / 0.8373 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.7676, allocations: 152.7 kB / 0.8375 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.7678, allocations: 95.33 kB / 0.8376 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005413/0.7684, allocations: 298 kB / 0.8379 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.7684, allocations: 37.28 kB / 0.8379 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=17): time 1.322e-06/0.7684, allocations: 0 / 0.8379 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17): time 0.00079/0.7692, allocations: 293 kB / 0.8382 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.7693, allocations: 54.03 kB / 0.8382 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003594/0.7696, allocations: 325.2 kB / 0.8385 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.7697, allocations: 33.7 kB / 0.8386 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.7698, allocations: 185.6 kB / 0.8387 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.024e-05/0.7699, allocations: 54.83 kB / 0.8388 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.405e-05/0.77, allocations: 51.36 kB / 0.8388 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.7701, allocations: 342.2 kB / 0.8392 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.7703, allocations: 67.09 kB / 0.8392 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.7705, allocations: 126.2 kB / 0.8394 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003481/0.7709, allocations: 192.9 kB / 0.8395 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.7709, allocations: 4 kB / 0.8395 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004264/0.7713, allocations: 254.5 kB / 0.8398 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.7713, allocations: 5.219 kB / 0.8398 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.7713, allocations: 2.469 kB / 0.8398 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.7714, allocations: 1.938 kB / 0.8398 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.7716, allocations: 37.11 kB / 0.8398 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.7716, allocations: 14.11 kB / 0.8398 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.7718, allocations: 36.72 kB / 0.8399 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.082e-05/0.7718, allocations: 15.77 kB / 0.8399 GB, free: 7.113 MB / 0.6075 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.0001409/0.772, allocations: 151.1 kB / 0.84 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.087e-05/0.772, allocations: 30.56 kB / 0.8401 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004561/0.7725, allocations: 229.8 kB / 0.8403 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.7725, allocations: 2.531 kB / 0.8403 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.7725, allocations: 4 kB / 0.8403 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.7725, allocations: 1.781 kB / 0.8403 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.7735, allocations: 0.7133 MB / 0.841 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.7735, allocations: 2.094 kB / 0.841 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.7737, allocations: 31.48 kB / 0.841 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.7737, allocations: 3.047 kB / 0.841 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.7738, allocations: 10.72 kB / 0.841 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.7738, allocations: 6.031 kB / 0.841 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.7738, allocations: 9.172 kB / 0.8411 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007193/0.7745, allocations: 451.3 kB / 0.8415 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.7746, allocations: 124.2 kB / 0.8416 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.954e-05/0.7747, allocations: 12.25 kB / 0.8416 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.7749, allocations: 10.05 kB / 0.8416 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.7749, allocations: 14.67 kB / 0.8416 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.7749, allocations: 5.562 kB / 0.8416 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001963/0.7751, allocations: 237 kB / 0.8419 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7751, allocations: 0 / 0.8419 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003822/0.7755, allocations: 82.5 kB / 0.8419 GB, free: 5.555 MB / 0.6075 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.0004407/0.776, allocations: 157.8 kB / 0.8421 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000432/0.7764, allocations: 187 kB / 0.8423 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.7764, allocations: 0 / 0.8423 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001792/0.7766, allocations: 92.14 kB / 0.8424 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000822/0.7774, allocations: 172.4 kB / 0.8425 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.7785, allocations: 0.627 MB / 0.8431 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.7789, allocations: 0.7797 MB / 0.8439 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002294/0.7792, allocations: 65.98 kB / 0.844 GB, free: 4 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.539e-05/0.7792, allocations: 29.59 kB / 0.844 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of SimCode: time 7.01e-07/0.7792, allocations: 0 / 0.844 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of Templates: time 0.01205/0.7913, allocations: 5.867 MB / 0.8497 GB, free: 1.09 MB / 0.6075 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)