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.001212/0.001212, allocations: 117 kB / 16.37 MB, free: 6.012 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.001204/0.001204, allocations: 191.8 kB / 17.31 MB, free: 5.613 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.327/1.327, allocations: 222.9 MB / 241 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.7749/0.7749, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 71.84 kB / 0.5068 GB, free: 7.648 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3748, allocations: 80.89 MB / 0.5858 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.1668/0.5416, allocations: 167.4 MB / 0.7492 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002739/0.5444, allocations: 1.55 MB / 0.7508 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002642/0.5447, allocations: 15.88 kB / 0.7508 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004985/0.5452, allocations: 150.8 kB / 0.7509 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.5468, allocations: 0.7156 MB / 0.7516 GB, free: 140 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.4228/0.9697, allocations: 0.5965 MB / 0.7522 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001358/0.9711, allocations: 0.7146 MB / 0.7529 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005743/0.9717, allocations: 233 kB / 0.7531 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.9728, allocations: 352.6 kB / 0.7534 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006576/0.9735, allocations: 223.2 kB / 0.7537 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.951e-05/0.9736, allocations: 24.03 kB / 0.7537 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001805/0.9754, allocations: 0.8678 MB / 0.7545 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.9755, allocations: 109.1 kB / 0.7546 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002313/0.9758, allocations: 176.3 kB / 0.7548 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.9769, allocations: 0.7349 MB / 0.7555 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.9769, allocations: 3.125 kB / 0.7555 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.214e-06/0.9769, allocations: 4.688 kB / 0.7555 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.9769, allocations: 0 / 0.7555 GB, free: 2.219 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.001052/0.9779, allocations: 0.6661 MB / 0.7562 GB, free: 17.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.978, allocations: 11.98 kB / 0.7562 GB, free: 17.73 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.9791, allocations: 154.5 kB / 0.7563 GB, free: 17.71 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004599/0.9796, allocations: 326.5 kB / 0.7567 GB, free: 17.48 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.9796, allocations: 18.34 kB / 0.7567 GB, free: 17.48 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.421e-05/0.9797, allocations: 22.81 kB / 0.7567 GB, free: 17.48 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004479/0.9801, allocations: 286.1 kB / 0.757 GB, free: 17.4 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.9801, allocations: 0 / 0.757 GB, free: 17.4 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.9802, allocations: 10.59 kB / 0.757 GB, free: 17.4 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.9802, allocations: 4.719 kB / 0.757 GB, free: 17.4 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003848/0.9806, allocations: 204.7 kB / 0.7572 GB, free: 17.4 MB / 0.5919 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.001513/0.9821, allocations: 1.227 MB / 0.7584 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.9824, allocations: 151.5 kB / 0.7585 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.9826, allocations: 102.5 kB / 0.7586 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005765/0.9831, allocations: 299.9 kB / 0.7589 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.9832, allocations: 36.08 kB / 0.7589 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/0.9832, allocations: 0 / 0.7589 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17): time 0.0007903/0.984, allocations: 290.9 kB / 0.7592 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.984, allocations: 54.44 kB / 0.7593 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003923/0.9844, allocations: 325.2 kB / 0.7596 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.9845, allocations: 31.05 kB / 0.7596 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.9846, allocations: 183.1 kB / 0.7598 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.942e-05/0.9847, allocations: 61 kB / 0.7598 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.957e-05/0.9848, allocations: 47.73 kB / 0.7599 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.9849, allocations: 339.9 kB / 0.7602 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.9851, allocations: 68.36 kB / 0.7603 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.9854, allocations: 131.1 kB / 0.7604 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003588/0.9857, allocations: 191.8 kB / 0.7606 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.9858, allocations: 7.812 kB / 0.7606 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004924/0.9863, allocations: 252.6 kB / 0.7608 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.9863, allocations: 7.438 kB / 0.7608 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.9863, allocations: 2.234 kB / 0.7608 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.9863, allocations: 3.5 kB / 0.7608 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.9865, allocations: 47.48 kB / 0.7609 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.9866, allocations: 4.109 kB / 0.7609 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.9868, allocations: 30.02 kB / 0.7609 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/0.9868, allocations: 8.266 kB / 0.7609 GB, free: 15.32 MB / 0.5919 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.0001452/0.987, allocations: 160.1 kB / 0.7611 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-05/0.987, allocations: 32.16 kB / 0.7611 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005109/0.9875, allocations: 237.7 kB / 0.7613 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.9876, allocations: 2.219 kB / 0.7613 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.9876, allocations: 1.188 kB / 0.7613 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.9876, allocations: 2.469 kB / 0.7613 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.9887, allocations: 0.7163 MB / 0.762 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.9887, allocations: 3.031 kB / 0.762 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.9889, allocations: 33.58 kB / 0.7621 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.9889, allocations: 4.188 kB / 0.7621 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.989, allocations: 8.078 kB / 0.7621 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.323e-06/0.989, allocations: 6.5 kB / 0.7621 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.989, allocations: 3.469 kB / 0.7621 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007404/0.9897, allocations: 445.2 kB / 0.7625 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.9899, allocations: 123.9 kB / 0.7626 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.776e-05/0.9899, allocations: 8.938 kB / 0.7626 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.9901, allocations: 11.55 kB / 0.7627 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.9902, allocations: 19.62 kB / 0.7627 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.9902, allocations: 7.016 kB / 0.7627 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002657/0.9905, allocations: 231.9 kB / 0.7629 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9905, allocations: 2.094 kB / 0.7629 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004299/0.9909, allocations: 87.66 kB / 0.763 GB, free: 14.37 MB / 0.5919 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.0004415/0.9914, allocations: 172.5 kB / 0.7632 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004774/0.9919, allocations: 191.5 kB / 0.7633 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.9919, allocations: 1.438 kB / 0.7633 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002239/0.9921, allocations: 89.19 kB / 0.7634 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008986/0.993, allocations: 173.1 kB / 0.7636 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.9944, allocations: 0.6222 MB / 0.7642 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004579/0.9948, allocations: 0.788 MB / 0.765 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002545/0.9951, allocations: 65.92 kB / 0.765 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.486e-05/0.9952, allocations: 26.38 kB / 0.7651 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/0.9952, allocations: 1.094 kB / 0.7651 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of Templates: time 0.013/1.008, allocations: 5.81 MB / 0.7707 GB, free: 13.08 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1)