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.008176/0.008176, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001373/0.001373, allocations: 196.2 kB / 16.67 MB, free: 5.52 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8265/0.8265, allocations: 135.1 MB / 425.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 64.88 kB / 0.5856 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1674, allocations: 80.93 MB / 0.6647 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.5888/0.7562, allocations: 167.4 MB / 0.8281 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003525/0.7598, allocations: 1.559 MB / 0.8297 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003771/0.7602, allocations: 15.34 kB / 0.8297 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006371/0.7609, allocations: 145.3 kB / 0.8298 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002203/0.7631, allocations: 0.7384 MB / 0.8305 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001853/0.765, allocations: 0.6132 MB / 0.8311 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009005/0.7659, allocations: 0.722 MB / 0.8318 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004153/0.7663, allocations: 235.7 kB / 0.8321 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006983/0.767, allocations: 357.6 kB / 0.8324 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002971/0.7674, allocations: 221.2 kB / 0.8326 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.449e-05/0.7674, allocations: 23.78 kB / 0.8326 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001644/0.7691, allocations: 0.8823 MB / 0.8335 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.7692, allocations: 107.6 kB / 0.8336 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002343/0.7695, allocations: 177 kB / 0.8338 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.7708, allocations: 0.7314 MB / 0.8345 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.477e-06/0.7708, allocations: 4 kB / 0.8345 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7708, allocations: 0 / 0.8345 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.217e-05/0.7708, allocations: 0 / 0.8345 GB, free: 11.47 MB / 0.6075 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.00125/0.7721, allocations: 0.6579 MB / 0.8351 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.7721, allocations: 15.17 kB / 0.8351 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.7734, allocations: 159.2 kB / 0.8353 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006271/0.7741, allocations: 328.7 kB / 0.8356 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.7741, allocations: 18.12 kB / 0.8356 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.915e-05/0.7741, allocations: 23.75 kB / 0.8356 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005348/0.7747, allocations: 279.6 kB / 0.8359 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.7747, allocations: 6.078 kB / 0.8359 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.7747, allocations: 10.62 kB / 0.8359 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.7748, allocations: 8.656 kB / 0.8359 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000434/0.7752, allocations: 201.5 kB / 0.8361 GB, free: 10.19 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.00154/0.7767, allocations: 1.232 MB / 0.8373 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/0.7771, allocations: 146.8 kB / 0.8375 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.7772, allocations: 92.23 kB / 0.8376 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006272/0.7779, allocations: 308.6 kB / 0.8379 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.7779, allocations: 30.56 kB / 0.8379 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=17): time 1.323e-06/0.7779, allocations: 0 / 0.8379 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17): time 0.0008127/0.7788, allocations: 301.9 kB / 0.8382 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.7788, allocations: 57.3 kB / 0.8382 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003295/0.7791, allocations: 318.2 kB / 0.8385 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.7792, allocations: 29.7 kB / 0.8386 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.7793, allocations: 183 kB / 0.8387 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.021e-05/0.7794, allocations: 61.3 kB / 0.8388 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.17e-05/0.7795, allocations: 51.3 kB / 0.8388 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.7796, allocations: 342.2 kB / 0.8392 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.7798, allocations: 67.22 kB / 0.8392 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.78, allocations: 130.7 kB / 0.8394 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003586/0.7804, allocations: 198 kB / 0.8395 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.7804, allocations: 0 / 0.8395 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004879/0.7809, allocations: 256.7 kB / 0.8398 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.7809, allocations: 9.562 kB / 0.8398 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.7809, allocations: 0 / 0.8398 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.781, allocations: 2.094 kB / 0.8398 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.7812, allocations: 50.81 kB / 0.8399 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.7812, allocations: 2.906 kB / 0.8399 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.7814, allocations: 29.81 kB / 0.8399 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.341e-05/0.7815, allocations: 15.7 kB / 0.8399 GB, free: 7.074 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.0001793/0.7816, allocations: 161.8 kB / 0.8401 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-05/0.7817, allocations: 27.97 kB / 0.8401 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004876/0.7822, allocations: 228.3 kB / 0.8403 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.7822, allocations: 2.438 kB / 0.8403 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.7822, allocations: 0 / 0.8403 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.7822, allocations: 3.984 kB / 0.8403 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.7834, allocations: 0.7071 MB / 0.841 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.7834, allocations: 6.562 kB / 0.841 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.7836, allocations: 32.67 kB / 0.841 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.7836, allocations: 2.5 kB / 0.841 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.7836, allocations: 13.44 kB / 0.841 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.7836, allocations: 2.312 kB / 0.841 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.7836, allocations: 2.719 kB / 0.8411 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007074/0.7843, allocations: 450.9 kB / 0.8415 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.7845, allocations: 119.4 kB / 0.8416 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.055e-05/0.7845, allocations: 14.78 kB / 0.8416 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.7847, allocations: 13.02 kB / 0.8416 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.14e-05/0.7848, allocations: 11.42 kB / 0.8416 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.7848, allocations: 13.03 kB / 0.8416 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002337/0.7851, allocations: 235.6 kB / 0.8419 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7851, allocations: 0 / 0.8419 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004222/0.7855, allocations: 79.69 kB / 0.8419 GB, free: 5.52 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.0004762/0.786, allocations: 162.6 kB / 0.8421 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004661/0.7864, allocations: 197.5 kB / 0.8423 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7865, allocations: 4.188 kB / 0.8423 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.7867, allocations: 85.92 kB / 0.8424 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009453/0.7876, allocations: 166.4 kB / 0.8425 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.7887, allocations: 0.6305 MB / 0.8431 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.7891, allocations: 0.7803 MB / 0.8439 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001988/0.7893, allocations: 70.14 kB / 0.844 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.466e-05/0.7894, allocations: 29.09 kB / 0.844 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.7894, allocations: 0 / 0.844 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of Templates: time 0.0113/0.8007, allocations: 5.847 MB / 0.8497 GB, free: 1.059 MB / 0.6075 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)