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.000947/0.0009469, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.00114/0.00114, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7407/0.7407, allocations: 132.3 MB / 423.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003061/0.0003062, allocations: 13.59 kB / 0.5034 GB, free: 4.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3537, allocations: 81.57 MB / 0.5831 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.1539/0.5077, allocations: 152.1 MB / 0.7316 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002417/0.5102, allocations: 1.492 MB / 0.733 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003178/0.5105, allocations: 7.938 kB / 0.733 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000417/0.5109, allocations: 107.2 kB / 0.7332 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001274/0.5122, allocations: 0.5131 MB / 0.7337 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.5134, allocations: 449.5 kB / 0.7341 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009248/0.5144, allocations: 0.8463 MB / 0.7349 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003485/0.5147, allocations: 185.1 kB / 0.7351 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006574/0.5154, allocations: 306.8 kB / 0.7354 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003636/0.5158, allocations: 227.1 kB / 0.7356 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.813e-05/0.5158, allocations: 12 kB / 0.7356 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.5169, allocations: 470.8 kB / 0.7361 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.517, allocations: 95.69 kB / 0.7361 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.5171, allocations: 89.52 kB / 0.7362 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005714/0.5177, allocations: 439 kB / 0.7366 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.5177, allocations: 0 / 0.7366 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5177, allocations: 3.938 kB / 0.7367 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.707e-06/0.5177, allocations: 0 / 0.7367 GB, free: 2.93 MB / 0.5606 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.0008284/0.5186, allocations: 0.6095 MB / 0.7372 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.5186, allocations: 8.031 kB / 0.7373 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.5197, allocations: 163.3 kB / 0.7374 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003923/0.5202, allocations: 302.8 kB / 0.7377 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.5202, allocations: 20.56 kB / 0.7377 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.977e-05/0.5202, allocations: 28 kB / 0.7377 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004931/0.5207, allocations: 289.8 kB / 0.738 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.5208, allocations: 3.938 kB / 0.738 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.5208, allocations: 16 kB / 0.738 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.5208, allocations: 7.938 kB / 0.738 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004298/0.5212, allocations: 204.9 kB / 0.7382 GB, free: 1.195 MB / 0.5606 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.001346/0.5226, allocations: 1.234 MB / 0.7394 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/0.5229, allocations: 150.4 kB / 0.7396 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.5231, allocations: 108.8 kB / 0.7397 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005377/0.5236, allocations: 311.2 kB / 0.74 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.5237, allocations: 34.56 kB / 0.74 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 1.393e-06/0.5237, allocations: 0 / 0.74 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.0007741/0.5244, allocations: 311.4 kB / 0.7403 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.5245, allocations: 55.41 kB / 0.7404 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003147/0.5248, allocations: 320.5 kB / 0.7407 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.5248, allocations: 29.7 kB / 0.7407 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.525, allocations: 196 kB / 0.7409 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.473e-05/0.525, allocations: 51.2 kB / 0.7409 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.296e-05/0.525, allocations: 8 kB / 0.741 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.5252, allocations: 342.8 kB / 0.7413 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.5253, allocations: 67.95 kB / 0.7413 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/0.5255, allocations: 129.1 kB / 0.7415 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.5257, allocations: 91.95 kB / 0.7416 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.5258, allocations: 0 / 0.7416 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004759/0.5262, allocations: 261 kB / 0.7418 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.5263, allocations: 11.94 kB / 0.7418 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.5263, allocations: 96 / 0.7418 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.5263, allocations: 8 kB / 0.7418 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.5265, allocations: 43.97 kB / 0.7419 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.5265, allocations: 4 kB / 0.7419 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.5267, allocations: 35.67 kB / 0.7419 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.5268, allocations: 11.94 kB / 0.7419 GB, free: 13.18 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001345/0.5269, allocations: 157.8 kB / 0.7421 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.418e-05/0.527, allocations: 31.62 kB / 0.7421 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004822/0.5275, allocations: 240.6 kB / 0.7423 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.5275, allocations: 0 / 0.7423 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.5275, allocations: 4 kB / 0.7423 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.5275, allocations: 3.938 kB / 0.7423 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.5285, allocations: 0.7224 MB / 0.743 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.5285, allocations: 4.094 kB / 0.743 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.5287, allocations: 35.92 kB / 0.7431 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/0.5287, allocations: 7.984 kB / 0.7431 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.5288, allocations: 12.22 kB / 0.7431 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.5288, allocations: 0 / 0.7431 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.5288, allocations: 11.89 kB / 0.7431 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006426/0.5294, allocations: 463.2 kB / 0.7435 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.5296, allocations: 120.9 kB / 0.7437 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.666e-05/0.5296, allocations: 11.98 kB / 0.7437 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.5298, allocations: 19.97 kB / 0.7437 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.5299, allocations: 15.94 kB / 0.7437 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.5299, allocations: 8 kB / 0.7437 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002151/0.5301, allocations: 231.1 kB / 0.7439 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5301, allocations: 0 / 0.7439 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003976/0.5305, allocations: 83.94 kB / 0.744 GB, free: 10.88 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003298/0.5308, allocations: 160.6 kB / 0.7442 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004319/0.5313, allocations: 192 kB / 0.7444 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5313, allocations: 0 / 0.7444 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.5315, allocations: 104.4 kB / 0.7445 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009362/0.5325, allocations: 161 kB / 0.7446 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.5337, allocations: 0.7548 MB / 0.7453 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.5341, allocations: 0.7836 MB / 0.7461 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002651/0.5344, allocations: 58.94 kB / 0.7462 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.05e-05/0.5344, allocations: 27.44 kB / 0.7462 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of SimCode: time 3.51e-07/0.5344, allocations: 0 / 0.7462 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of Templates: time 0.01029/0.5447, allocations: 5.337 MB / 0.7514 GB, free: 3.348 MB / 0.5762 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)