Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Sensors.Examples.Velocity") translateModel(IDEAS.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.007896/0.007897, allocations: 102 kB / 15.73 MB, free: 6.051 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.001409/0.001409, allocations: 196.6 kB / 16.67 MB, free: 5.969 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.367/1.367, 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/package.mo): time 0.7981/0.7981, allocations: 132.2 MB / 422.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 67.81 kB / 0.5814 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1901, allocations: 80.21 MB / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.6735/0.8637, allocations: 167.4 MB / 0.8232 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003495/0.8672, allocations: 1.557 MB / 0.8247 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005182/0.8678, allocations: 11.28 kB / 0.8247 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005767/0.8683, allocations: 154.5 kB / 0.8248 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002143/0.8705, allocations: 0.7381 MB / 0.8256 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.8723, allocations: 0.6053 MB / 0.8262 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009023/0.8732, allocations: 0.7155 MB / 0.8269 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004091/0.8736, allocations: 235.1 kB / 0.8271 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008484/0.8745, allocations: 363.9 kB / 0.8274 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004021/0.8749, allocations: 229.9 kB / 0.8276 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.272e-05/0.875, allocations: 22.78 kB / 0.8277 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002515/0.8775, allocations: 0.8681 MB / 0.8285 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000216/0.8777, allocations: 118.8 kB / 0.8286 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002552/0.878, allocations: 164.1 kB / 0.8288 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001701/0.8797, allocations: 0.7433 MB / 0.8295 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.8797, allocations: 0 / 0.8295 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8797, allocations: 0 / 0.8295 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.8798, allocations: 0 / 0.8295 GB, free: 1.188 MB / 0.5919 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.001363/0.8811, allocations: 0.6662 MB / 0.8302 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.478e-05/0.8812, allocations: 11.28 kB / 0.8302 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001355/0.8826, allocations: 158.2 kB / 0.8303 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005823/0.8832, allocations: 328.8 kB / 0.8306 GB, free: 224 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.8832, allocations: 22.03 kB / 0.8307 GB, free: 212 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.383e-05/0.8833, allocations: 23.53 kB / 0.8307 GB, free: 204 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005347/0.8838, allocations: 283.6 kB / 0.8309 GB, free: 4 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.8838, allocations: 3.938 kB / 0.831 GB, free: 0 / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.413e-05/0.8839, allocations: 10.33 kB / 0.831 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.8839, allocations: 7.438 kB / 0.831 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004447/0.8844, allocations: 201.2 kB / 0.8312 GB, free: 15.9 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.00145/0.8858, allocations: 1.227 MB / 0.8324 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.8861, allocations: 148.7 kB / 0.8325 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.8863, allocations: 96.3 kB / 0.8326 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005564/0.8869, allocations: 298 kB / 0.8329 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.8869, allocations: 44.83 kB / 0.8329 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=17): time 1.753e-06/0.8869, allocations: 0 / 0.8329 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17): time 0.0007775/0.8877, allocations: 292.4 kB / 0.8332 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.8877, allocations: 51.41 kB / 0.8332 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003142/0.8881, allocations: 325.1 kB / 0.8336 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.8881, allocations: 25.7 kB / 0.8336 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.8882, allocations: 189.6 kB / 0.8338 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.693e-05/0.8883, allocations: 61.94 kB / 0.8338 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.8884, allocations: 47.98 kB / 0.8339 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.8886, allocations: 346.1 kB / 0.8342 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.8888, allocations: 69.95 kB / 0.8343 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.889, allocations: 126.4 kB / 0.8344 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003584/0.8893, allocations: 199.3 kB / 0.8346 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.8894, allocations: 1.812 kB / 0.8346 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004781/0.8898, allocations: 247.5 kB / 0.8348 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.8899, allocations: 5.656 kB / 0.8348 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.8899, allocations: 5.719 kB / 0.8348 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.8899, allocations: 6.297 kB / 0.8348 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.8901, allocations: 51.12 kB / 0.8349 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.8901, allocations: 7.281 kB / 0.8349 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/0.8904, allocations: 37.09 kB / 0.8349 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.8904, allocations: 7.75 kB / 0.8349 GB, free: 12.8 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.0001941/0.8906, allocations: 151.6 kB / 0.8351 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.488e-05/0.8907, allocations: 30.97 kB / 0.8351 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004857/0.8911, allocations: 227.9 kB / 0.8353 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.8912, allocations: 4 kB / 0.8353 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.8912, allocations: 6.484 kB / 0.8353 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.8912, allocations: 0 / 0.8353 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.8922, allocations: 0.7046 MB / 0.836 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.8923, allocations: 2.344 kB / 0.836 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.8924, allocations: 39.27 kB / 0.8361 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.8924, allocations: 2.531 kB / 0.8361 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.8925, allocations: 6.781 kB / 0.8361 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.8925, allocations: 6.484 kB / 0.8361 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.8925, allocations: 6.344 kB / 0.8361 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006691/0.8932, allocations: 451.4 kB / 0.8365 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.8933, allocations: 119.4 kB / 0.8366 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.916e-05/0.8934, allocations: 8.75 kB / 0.8366 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.8935, allocations: 17.23 kB / 0.8366 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.113e-05/0.8936, allocations: 19.45 kB / 0.8367 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.8937, allocations: 4.906 kB / 0.8367 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002227/0.8939, allocations: 232.9 kB / 0.8369 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8939, allocations: 2.781 kB / 0.8369 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004373/0.8943, allocations: 87.7 kB / 0.837 GB, free: 11.24 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.0004471/0.8948, allocations: 151.8 kB / 0.8371 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004662/0.8953, allocations: 194.8 kB / 0.8373 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8953, allocations: 0 / 0.8373 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.8955, allocations: 96.19 kB / 0.8374 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000955/0.8964, allocations: 181.1 kB / 0.8376 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.8977, allocations: 0.6258 MB / 0.8382 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.8981, allocations: 0.7807 MB / 0.8389 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002449/0.8983, allocations: 62.19 kB / 0.839 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.662e-05/0.8984, allocations: 24.81 kB / 0.839 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of SimCode: time 3.5e-07/0.8984, allocations: 0 / 0.839 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of Templates: time 0.01328/0.9117, allocations: 5.856 MB / 0.8448 GB, free: 6.785 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1)