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.001137/0.001137, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001229, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.383/1.383, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9339/0.9339, allocations: 135.1 MB / 425.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 64.45 kB / 0.5053 GB, free: 5.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1831, allocations: 80.92 MB / 0.5844 GB, free: 4.574 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.5385/0.7217, allocations: 167.4 MB / 0.7478 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003547/0.7253, allocations: 1.552 MB / 0.7493 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006956/0.726, allocations: 16.12 kB / 0.7494 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007588/0.7268, allocations: 142 kB / 0.7495 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002671/0.7295, allocations: 0.7093 MB / 0.7502 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002306/0.7319, allocations: 0.5996 MB / 0.7508 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001519/0.7334, allocations: 0.7254 MB / 0.7515 GB, free: 388 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006413/0.7341, allocations: 230.2 kB / 0.7517 GB, free: 252 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.7351, allocations: 357.2 kB / 0.752 GB, free: 48 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004854/0.7356, allocations: 219.5 kB / 0.7522 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.601e-05/0.7357, allocations: 23.97 kB / 0.7523 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002103/0.7378, allocations: 0.8629 MB / 0.7531 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001972/0.738, allocations: 113.8 kB / 0.7532 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003099/0.7383, allocations: 174.7 kB / 0.7534 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00212/0.7404, allocations: 0.7218 MB / 0.7541 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.7405, allocations: 0 / 0.7541 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.315e-06/0.7405, allocations: 0 / 0.7541 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.496e-05/0.7405, allocations: 0 / 0.7541 GB, free: 14.82 MB / 0.5762 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.001356/0.7418, allocations: 0.6743 MB / 0.7548 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.7419, allocations: 8.062 kB / 0.7548 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001411/0.7433, allocations: 152.2 kB / 0.7549 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005532/0.7439, allocations: 319 kB / 0.7552 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.7439, allocations: 17.41 kB / 0.7552 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.231e-05/0.744, allocations: 30.75 kB / 0.7553 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000642/0.7447, allocations: 279 kB / 0.7555 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.7447, allocations: 0 / 0.7555 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/0.7447, allocations: 8 kB / 0.7555 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.7447, allocations: 8 kB / 0.7555 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005323/0.7453, allocations: 204.9 kB / 0.7557 GB, free: 13.41 MB / 0.5762 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.002059/0.7474, allocations: 1.236 MB / 0.7569 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003042/0.7477, allocations: 150.5 kB / 0.7571 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.7479, allocations: 94.05 kB / 0.7572 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007074/0.7486, allocations: 303.2 kB / 0.7575 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.7486, allocations: 34.5 kB / 0.7575 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.7486, allocations: 3.938 kB / 0.7575 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.0009224/0.7496, allocations: 291.6 kB / 0.7578 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.7496, allocations: 63.34 kB / 0.7578 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004181/0.75, allocations: 324.5 kB / 0.7581 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.89e-05/0.7501, allocations: 29.7 kB / 0.7582 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.7503, allocations: 180.2 kB / 0.7583 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.238e-05/0.7504, allocations: 59.11 kB / 0.7584 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.7505, allocations: 45.7 kB / 0.7584 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001953/0.7507, allocations: 342.8 kB / 0.7588 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.7509, allocations: 63.95 kB / 0.7588 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.7511, allocations: 139.7 kB / 0.759 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004058/0.7515, allocations: 193.8 kB / 0.7592 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.7516, allocations: 0 / 0.7592 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005237/0.7521, allocations: 264.1 kB / 0.7594 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.7521, allocations: 8 kB / 0.7594 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.7521, allocations: 3.125 kB / 0.7594 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.7522, allocations: 4 kB / 0.7594 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.7524, allocations: 44.02 kB / 0.7595 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.7524, allocations: 4 kB / 0.7595 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/0.7527, allocations: 31.67 kB / 0.7595 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.529e-05/0.7527, allocations: 12 kB / 0.7595 GB, free: 9.285 MB / 0.5762 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.0001646/0.7529, allocations: 159 kB / 0.7597 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.53e-05/0.7529, allocations: 31.62 kB / 0.7597 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005062/0.7534, allocations: 228.7 kB / 0.7599 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.7535, allocations: 4 kB / 0.7599 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.7535, allocations: 0 / 0.7599 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.7535, allocations: 0 / 0.7599 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.7546, allocations: 0.7107 MB / 0.7606 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.7547, allocations: 0 / 0.7606 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/0.7548, allocations: 35.92 kB / 0.7606 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.7549, allocations: 4 kB / 0.7606 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.7549, allocations: 11.94 kB / 0.7607 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.7549, allocations: 0 / 0.7607 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.7549, allocations: 5.781 kB / 0.7607 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007402/0.7557, allocations: 450.9 kB / 0.7611 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.7558, allocations: 128.6 kB / 0.7612 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.263e-05/0.7559, allocations: 11.88 kB / 0.7612 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.7561, allocations: 15.98 kB / 0.7612 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.3e-05/0.7561, allocations: 15.92 kB / 0.7613 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.7561, allocations: 8.062 kB / 0.7613 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002811/0.7564, allocations: 235 kB / 0.7615 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7564, allocations: 0 / 0.7615 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004454/0.7569, allocations: 83.84 kB / 0.7616 GB, free: 7.031 MB / 0.5762 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.0004456/0.7573, allocations: 147.7 kB / 0.7617 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004856/0.7578, allocations: 198 kB / 0.7619 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.7579, allocations: 0 / 0.7619 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.7581, allocations: 91.83 kB / 0.762 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009831/0.7591, allocations: 175 kB / 0.7621 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.7604, allocations: 0.6318 MB / 0.7628 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.7608, allocations: 0.7873 MB / 0.7635 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002679/0.7611, allocations: 64.88 kB / 0.7636 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.64e-05/0.7611, allocations: 23.44 kB / 0.7636 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of SimCode: time 6.72e-07/0.7611, allocations: 0 / 0.7636 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of Templates: time 0.01277/0.7739, allocations: 5.827 MB / 0.7693 GB, free: 15.17 MB / 0.5919 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)