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.001111/0.001111, allocations: 105.3 kB / 16.41 MB, free: 6.48 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.001163/0.001163, allocations: 189.5 kB / 17.34 MB, free: 5.734 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8866/0.8866, allocations: 132.2 MB / 423.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 60.16 kB / 0.582 GB, free: 23.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1614, allocations: 80.23 MB / 0.6604 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.6009/0.7623, allocations: 167.4 MB / 0.8238 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002821/0.7652, allocations: 1.557 MB / 0.8253 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003001/0.7655, allocations: 10.78 kB / 0.8254 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004886/0.766, allocations: 146.6 kB / 0.8255 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001821/0.7679, allocations: 0.7061 MB / 0.8262 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.7694, allocations: 0.6069 MB / 0.8268 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007684/0.7702, allocations: 0.7159 MB / 0.8275 GB, free: 2.832 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003526/0.7705, allocations: 239.2 kB / 0.8277 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005766/0.7711, allocations: 351.5 kB / 0.828 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002787/0.7714, allocations: 229.3 kB / 0.8283 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.263e-05/0.7715, allocations: 25.16 kB / 0.8283 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.7729, allocations: 0.8574 MB / 0.8291 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.7731, allocations: 122.8 kB / 0.8292 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.7732, allocations: 177 kB / 0.8294 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009903/0.7742, allocations: 0.7307 MB / 0.8301 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.7743, allocations: 4 kB / 0.8301 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7743, allocations: 0 / 0.8301 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.7743, allocations: 0 / 0.8301 GB, free: 1.23 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.0009654/0.7753, allocations: 0.6603 MB / 0.8308 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.7753, allocations: 13.69 kB / 0.8308 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.7764, allocations: 158.8 kB / 0.8309 GB, free: 0.5664 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005063/0.7769, allocations: 320.4 kB / 0.8312 GB, free: 280 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.777, allocations: 20.41 kB / 0.8313 GB, free: 268 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.533e-05/0.777, allocations: 24.97 kB / 0.8313 GB, free: 260 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004668/0.7775, allocations: 283.2 kB / 0.8315 GB, free: 60 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.7775, allocations: 0 / 0.8315 GB, free: 60 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/0.7775, allocations: 11.03 kB / 0.8316 GB, free: 52 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.7775, allocations: 11.69 kB / 0.8316 GB, free: 48 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004132/0.778, allocations: 200.1 kB / 0.8318 GB, free: 15.96 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.00139/0.7794, allocations: 1.231 MB / 0.833 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.7796, allocations: 141 kB / 0.8331 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.7798, allocations: 94.39 kB / 0.8332 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005337/0.7804, allocations: 306.1 kB / 0.8335 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.7804, allocations: 33.31 kB / 0.8335 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.7804, allocations: 0 / 0.8335 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17): time 0.0007487/0.7812, allocations: 303 kB / 0.8338 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.7812, allocations: 54.28 kB / 0.8339 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/0.7815, allocations: 314.6 kB / 0.8342 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.7816, allocations: 32.11 kB / 0.8342 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.7817, allocations: 182.8 kB / 0.8344 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.936e-05/0.7817, allocations: 62.84 kB / 0.8344 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.23e-05/0.7818, allocations: 51.58 kB / 0.8345 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.7819, allocations: 346.4 kB / 0.8348 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.7821, allocations: 65.02 kB / 0.8349 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.7823, allocations: 129.9 kB / 0.835 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003517/0.7827, allocations: 201.6 kB / 0.8352 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.7827, allocations: 0 / 0.8352 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004434/0.7831, allocations: 255 kB / 0.8354 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.7832, allocations: 11.31 kB / 0.8354 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.7832, allocations: 0 / 0.8354 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.7832, allocations: 6.625 kB / 0.8354 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.7834, allocations: 51.19 kB / 0.8355 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.7834, allocations: 2.375 kB / 0.8355 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.7836, allocations: 29.95 kB / 0.8355 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.904e-05/0.7837, allocations: 10.84 kB / 0.8355 GB, free: 12.85 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.0001382/0.7838, allocations: 155.7 kB / 0.8357 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.7839, allocations: 26.88 kB / 0.8357 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00046/0.7843, allocations: 232.7 kB / 0.8359 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.7843, allocations: 2.625 kB / 0.8359 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.7844, allocations: 0 / 0.8359 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.7844, allocations: 0 / 0.8359 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009898/0.7854, allocations: 0.7101 MB / 0.8366 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.7854, allocations: 224 / 0.8366 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.7855, allocations: 43.44 kB / 0.8367 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.7856, allocations: 2.75 kB / 0.8367 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.7856, allocations: 10.31 kB / 0.8367 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.7856, allocations: 4.406 kB / 0.8367 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.7856, allocations: 2.906 kB / 0.8367 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006316/0.7862, allocations: 450.6 kB / 0.8371 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.7864, allocations: 120.2 kB / 0.8372 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.631e-05/0.7864, allocations: 14.81 kB / 0.8372 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.7866, allocations: 8.719 kB / 0.8372 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.7867, allocations: 15.88 kB / 0.8373 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.7867, allocations: 8.312 kB / 0.8373 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002192/0.7869, allocations: 233.6 kB / 0.8375 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7869, allocations: 0 / 0.8375 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000409/0.7873, allocations: 82.28 kB / 0.8376 GB, free: 11.3 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.0003834/0.7877, allocations: 162.4 kB / 0.8377 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004407/0.7882, allocations: 190.7 kB / 0.8379 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7882, allocations: 8.062 kB / 0.8379 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.7884, allocations: 97.06 kB / 0.838 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000865/0.7892, allocations: 163.8 kB / 0.8382 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.7903, allocations: 0.6622 MB / 0.8388 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.7907, allocations: 0.785 MB / 0.8396 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.334e-05/0.7907, allocations: 27.97 kB / 0.8396 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.7907, allocations: 0 / 0.8396 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of Templates: time 0.007284/0.798, allocations: 4.929 MB / 0.8444 GB, free: 7.195 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)