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.008343/0.008344, allocations: 103.5 kB / 15.73 MB, free: 6.035 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.001866/0.001866, allocations: 198.8 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7838/0.7838, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 60.69 kB / 0.5814 GB, free: 1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1606, allocations: 80.21 MB / 0.6597 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.715/0.8757, allocations: 167.4 MB / 0.8232 GB, free: 3.109 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.004003/0.8797, allocations: 1.559 MB / 0.8247 GB, free: 3.078 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000532/0.8803, allocations: 15.95 kB / 0.8247 GB, free: 3.078 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006497/0.881, allocations: 150.3 kB / 0.8248 GB, free: 3.078 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002496/0.8835, allocations: 0.741 MB / 0.8256 GB, free: 3.051 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00224/0.8858, allocations: 0.6089 MB / 0.8262 GB, free: 3.031 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00123/0.887, allocations: 0.7214 MB / 0.8269 GB, free: 3.031 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004475/0.8875, allocations: 229.5 kB / 0.8271 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007933/0.8883, allocations: 357.4 kB / 0.8274 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003501/0.8887, allocations: 226.5 kB / 0.8276 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.903e-05/0.8887, allocations: 24.44 kB / 0.8277 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002071/0.8908, allocations: 0.8735 MB / 0.8285 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.891, allocations: 110.7 kB / 0.8286 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003177/0.8913, allocations: 172.6 kB / 0.8288 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001636/0.8929, allocations: 0.741 MB / 0.8295 GB, free: 2.973 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.893, allocations: 0 / 0.8295 GB, free: 2.973 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.443e-06/0.893, allocations: 2.125 kB / 0.8295 GB, free: 2.973 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.893, allocations: 0 / 0.8295 GB, free: 2.973 MB / 0.6387 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.001034/0.894, allocations: 0.66 MB / 0.8302 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.8941, allocations: 10.66 kB / 0.8302 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/0.8954, allocations: 164 kB / 0.8303 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005449/0.8959, allocations: 325 kB / 0.8306 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.8959, allocations: 16.59 kB / 0.8307 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.689e-05/0.896, allocations: 22.47 kB / 0.8307 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005082/0.8965, allocations: 287 kB / 0.8309 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.8965, allocations: 3.938 kB / 0.831 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.8966, allocations: 10.34 kB / 0.831 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.8966, allocations: 6.344 kB / 0.831 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000425/0.897, allocations: 200.4 kB / 0.8312 GB, free: 2.156 MB / 0.6387 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.001372/0.8984, allocations: 1.234 MB / 0.8324 GB, free: 1.328 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.8987, allocations: 140.8 kB / 0.8325 GB, free: 1.305 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.8989, allocations: 98.92 kB / 0.8326 GB, free: 1.297 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00065/0.8996, allocations: 299.4 kB / 0.8329 GB, free: 17.02 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.8996, allocations: 42.06 kB / 0.8329 GB, free: 16.97 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=17): time 2.094e-06/0.8996, allocations: 0 / 0.8329 GB, free: 16.97 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17): time 0.000822/0.9005, allocations: 295.9 kB / 0.8332 GB, free: 16.92 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.9005, allocations: 54.62 kB / 0.8333 GB, free: 16.86 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003546/0.9009, allocations: 322.4 kB / 0.8336 GB, free: 16.76 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.9009, allocations: 27.77 kB / 0.8336 GB, free: 16.73 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.901, allocations: 186.2 kB / 0.8338 GB, free: 16.62 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.19e-05/0.9011, allocations: 59.78 kB / 0.8338 GB, free: 16.58 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.9012, allocations: 49.98 kB / 0.8339 GB, free: 16.56 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.9013, allocations: 341.5 kB / 0.8342 GB, free: 16.25 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.9015, allocations: 70.62 kB / 0.8343 GB, free: 16.25 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.9017, allocations: 124.6 kB / 0.8344 GB, free: 16.2 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003469/0.9021, allocations: 194.9 kB / 0.8346 GB, free: 16.16 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.9021, allocations: 2.312 kB / 0.8346 GB, free: 16.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004433/0.9026, allocations: 253.2 kB / 0.8348 GB, free: 16.11 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.9026, allocations: 10.41 kB / 0.8348 GB, free: 16.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.9026, allocations: 5.656 kB / 0.8348 GB, free: 16.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.9026, allocations: 3.062 kB / 0.8348 GB, free: 16.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.9028, allocations: 44.98 kB / 0.8349 GB, free: 16.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.9029, allocations: 6 kB / 0.8349 GB, free: 16.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.9031, allocations: 29.45 kB / 0.8349 GB, free: 16.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.304e-05/0.9031, allocations: 12.88 kB / 0.8349 GB, free: 16.09 MB / 0.6544 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.000142/0.9033, allocations: 148.4 kB / 0.8351 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.561e-05/0.9033, allocations: 33.66 kB / 0.8351 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004851/0.9038, allocations: 234.2 kB / 0.8353 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.9038, allocations: 2.375 kB / 0.8353 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.9038, allocations: 1.203 kB / 0.8353 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.9039, allocations: 5.297 kB / 0.8353 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.905, allocations: 0.7078 MB / 0.836 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.905, allocations: 6.859 kB / 0.836 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.9052, allocations: 34.38 kB / 0.8361 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.9053, allocations: 2.875 kB / 0.8361 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.9053, allocations: 7.188 kB / 0.8361 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.9053, allocations: 4.156 kB / 0.8361 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.9053, allocations: 1.438 kB / 0.8361 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007266/0.906, allocations: 460.7 kB / 0.8365 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.9062, allocations: 122.3 kB / 0.8366 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.898e-05/0.9062, allocations: 10.47 kB / 0.8366 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.9064, allocations: 9.375 kB / 0.8366 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.411e-05/0.9065, allocations: 19.45 kB / 0.8367 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.9065, allocations: 13.88 kB / 0.8367 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002651/0.9068, allocations: 230.7 kB / 0.8369 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9068, allocations: 0 / 0.8369 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005068/0.9073, allocations: 80.62 kB / 0.837 GB, free: 15.14 MB / 0.6544 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.0005741/0.9079, allocations: 165.2 kB / 0.8371 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005235/0.9084, allocations: 182.9 kB / 0.8373 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.9084, allocations: 2.438 kB / 0.8373 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002055/0.9086, allocations: 91.83 kB / 0.8374 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009452/0.9096, allocations: 165.2 kB / 0.8375 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.9107, allocations: 0.6307 MB / 0.8382 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.911, allocations: 0.7839 MB / 0.8389 GB, free: 14 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002157/0.9113, allocations: 65.09 kB / 0.839 GB, free: 14 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.406e-05/0.9113, allocations: 26.69 kB / 0.839 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.9114, allocations: 1.094 kB / 0.839 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of Templates: time 0.01175/0.9231, allocations: 5.855 MB / 0.8447 GB, free: 13.82 MB / 0.6544 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)