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.007666/0.007666, allocations: 99.67 kB / 15.73 MB, free: 6.039 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.001547/0.001547, allocations: 199.3 kB / 16.68 MB, free: 5.965 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7944/0.7944, allocations: 132.2 MB / 422.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.89 kB / 0.5814 GB, free: 7.578 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4688/0.47, allocations: 80.2 MB / 0.6597 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.1895/0.6596, allocations: 167.4 MB / 0.8232 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003201/0.6628, allocations: 1.557 MB / 0.8247 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003536/0.6632, allocations: 15.88 kB / 0.8247 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005108/0.6637, allocations: 146.9 kB / 0.8248 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001621/0.6653, allocations: 0.7078 MB / 0.8255 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001611/0.667, allocations: 0.5999 MB / 0.8261 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007879/0.6678, allocations: 0.7215 MB / 0.8268 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003586/0.6682, allocations: 241.1 kB / 0.8271 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005778/0.6688, allocations: 342.7 kB / 0.8274 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002563/0.669, allocations: 227 kB / 0.8276 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.916e-05/0.6691, allocations: 24 kB / 0.8276 GB, free: 9.719 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/0.6705, allocations: 0.8689 MB / 0.8285 GB, free: 8.848 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.6706, allocations: 103.7 kB / 0.8286 GB, free: 8.746 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.6708, allocations: 175.2 kB / 0.8287 GB, free: 8.574 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0009888/0.6718, allocations: 0.7482 MB / 0.8295 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.6718, allocations: 0 / 0.8295 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6718, allocations: 0 / 0.8295 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.882e-06/0.6718, allocations: 3.938 kB / 0.8295 GB, free: 7.824 MB / 0.6544 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.0008903/0.6727, allocations: 0.6732 MB / 0.8301 GB, free: 7.102 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.6727, allocations: 8.031 kB / 0.8301 GB, free: 7.094 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.6738, allocations: 159.6 kB / 0.8303 GB, free: 6.938 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004957/0.6743, allocations: 330.8 kB / 0.8306 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.6743, allocations: 16.56 kB / 0.8306 GB, free: 6.562 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.478e-05/0.6744, allocations: 28 kB / 0.8306 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004823/0.6749, allocations: 285.8 kB / 0.8309 GB, free: 6.238 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.6749, allocations: 0 / 0.8309 GB, free: 6.238 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.6749, allocations: 8 kB / 0.8309 GB, free: 6.23 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.675, allocations: 8 kB / 0.8309 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003892/0.6753, allocations: 204.9 kB / 0.8311 GB, free: 6.023 MB / 0.6544 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.001419/0.6768, allocations: 1.227 MB / 0.8323 GB, free: 4.691 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.6771, allocations: 150.4 kB / 0.8325 GB, free: 4.535 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.6772, allocations: 88.81 kB / 0.8326 GB, free: 4.445 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005351/0.6778, allocations: 307.2 kB / 0.8328 GB, free: 4.09 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.6778, allocations: 38.55 kB / 0.8329 GB, free: 4.043 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.6778, allocations: 0 / 0.8329 GB, free: 4.043 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17): time 0.0007661/0.6786, allocations: 295.3 kB / 0.8332 GB, free: 3.75 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.6786, allocations: 59.34 kB / 0.8332 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003137/0.679, allocations: 324.5 kB / 0.8335 GB, free: 3.363 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.679, allocations: 25.7 kB / 0.8336 GB, free: 3.332 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.6791, allocations: 192.3 kB / 0.8337 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.344e-05/0.6792, allocations: 63.47 kB / 0.8338 GB, free: 3.074 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.118e-05/0.6793, allocations: 53.66 kB / 0.8339 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.6794, allocations: 338.8 kB / 0.8342 GB, free: 2.676 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.6796, allocations: 71.95 kB / 0.8342 GB, free: 2.605 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.6798, allocations: 125.1 kB / 0.8344 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000342/0.6802, allocations: 193 kB / 0.8345 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6802, allocations: 0 / 0.8345 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004434/0.6806, allocations: 260.2 kB / 0.8348 GB, free: 2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.6806, allocations: 8 kB / 0.8348 GB, free: 1.992 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.6807, allocations: 3.938 kB / 0.8348 GB, free: 1.988 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.6807, allocations: 4 kB / 0.8348 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.6809, allocations: 43.97 kB / 0.8349 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.6809, allocations: 4 kB / 0.8349 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.6811, allocations: 35.77 kB / 0.8349 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-05/0.6811, allocations: 8 kB / 0.8349 GB, free: 1.895 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.0001304/0.6813, allocations: 153.8 kB / 0.835 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.668e-05/0.6813, allocations: 39.8 kB / 0.8351 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004615/0.6818, allocations: 226.3 kB / 0.8353 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.6818, allocations: 4 kB / 0.8353 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.6818, allocations: 3.938 kB / 0.8353 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.6818, allocations: 0 / 0.8353 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009815/0.6828, allocations: 0.7068 MB / 0.836 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.6828, allocations: 0 / 0.836 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.683, allocations: 44.19 kB / 0.836 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.683, allocations: 7.938 kB / 0.836 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.683, allocations: 4 kB / 0.836 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.683, allocations: 0 / 0.836 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.683, allocations: 7.938 kB / 0.8361 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006443/0.6837, allocations: 457 kB / 0.8365 GB, free: 136 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.6838, allocations: 128.9 kB / 0.8366 GB, free: 15.98 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.74e-05/0.6839, allocations: 4 kB / 0.8366 GB, free: 15.98 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.684, allocations: 15.94 kB / 0.8366 GB, free: 15.97 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.958e-05/0.6841, allocations: 19.97 kB / 0.8367 GB, free: 15.95 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.6841, allocations: 8 kB / 0.8367 GB, free: 15.94 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002142/0.6843, allocations: 231 kB / 0.8369 GB, free: 15.71 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6844, allocations: 0 / 0.8369 GB, free: 15.71 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003894/0.6847, allocations: 83.88 kB / 0.837 GB, free: 15.63 MB / 0.67 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.0003876/0.6851, allocations: 170.8 kB / 0.8371 GB, free: 15.46 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004222/0.6856, allocations: 179.8 kB / 0.8373 GB, free: 15.29 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6856, allocations: 0 / 0.8373 GB, free: 15.29 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.6858, allocations: 100 kB / 0.8374 GB, free: 15.19 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008225/0.6866, allocations: 163.5 kB / 0.8375 GB, free: 15.04 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009207/0.6875, allocations: 0.637 MB / 0.8382 GB, free: 14.35 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.6879, allocations: 0.7873 MB / 0.8389 GB, free: 13.54 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00018/0.6881, allocations: 66.92 kB / 0.839 GB, free: 13.47 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.342e-05/0.6881, allocations: 27.44 kB / 0.839 GB, free: 13.45 MB / 0.67 GB Notification: Performance of SimCode: time 2.61e-07/0.6882, allocations: 4 kB / 0.839 GB, free: 13.44 MB / 0.67 GB Notification: Performance of Templates: time 0.01015/0.6983, allocations: 5.847 MB / 0.8447 GB, free: 7.707 MB / 0.67 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)