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.001317/0.001317, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001739/0.001739, allocations: 192.8 kB / 16.13 MB, free: 6.703 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.412/1.412, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7794/0.7794, allocations: 132.2 MB / 422.2 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 60.22 kB / 0.5011 GB, free: 9.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1719, allocations: 80.2 MB / 0.5794 GB, free: 9.254 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.539/0.7109, allocations: 165.1 MB / 0.7407 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003215/0.7141, allocations: 1.58 MB / 0.7422 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003953/0.7146, allocations: 12.69 kB / 0.7422 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005422/0.7151, allocations: 114.1 kB / 0.7424 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001812/0.717, allocations: 0.675 MB / 0.743 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001619/0.7186, allocations: 0.5431 MB / 0.7435 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001064/0.7197, allocations: 0.9906 MB / 0.7445 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003803/0.7201, allocations: 205.5 kB / 0.7447 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006584/0.7208, allocations: 321.8 kB / 0.745 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002948/0.7211, allocations: 234.3 kB / 0.7452 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.034e-05/0.7211, allocations: 14.94 kB / 0.7453 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0018/0.7229, allocations: 1.022 MB / 0.7463 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.7231, allocations: 98.95 kB / 0.7463 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.7232, allocations: 164.2 kB / 0.7465 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.7244, allocations: 0.7761 MB / 0.7473 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.7244, allocations: 1.938 kB / 0.7473 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.61e-07/0.7244, allocations: 0 / 0.7473 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.7244, allocations: 0 / 0.7473 GB, free: 6.129 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.001012/0.7255, allocations: 0.6682 MB / 0.7479 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.7255, allocations: 9.75 kB / 0.7479 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/0.7267, allocations: 156 kB / 0.7481 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.7272, allocations: 308.9 kB / 0.7484 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.7272, allocations: 26.17 kB / 0.7484 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.687e-05/0.7272, allocations: 25.69 kB / 0.7484 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004903/0.7277, allocations: 279.3 kB / 0.7487 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.7278, allocations: 0 / 0.7487 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.7278, allocations: 14.81 kB / 0.7487 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.7278, allocations: 4.812 kB / 0.7487 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004222/0.7282, allocations: 205.7 kB / 0.7489 GB, free: 4.855 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.001504/0.7298, allocations: 1.233 MB / 0.7501 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/0.7301, allocations: 140.8 kB / 0.7502 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.7303, allocations: 96.48 kB / 0.7503 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007124/0.731, allocations: 307.8 kB / 0.7506 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.731, allocations: 34.56 kB / 0.7507 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=17): time 1.243e-06/0.731, allocations: 0 / 0.7507 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of matching and sorting (n=17): time 0.0008488/0.7319, allocations: 294.3 kB / 0.7509 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.7319, allocations: 58.41 kB / 0.751 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003282/0.7323, allocations: 318.1 kB / 0.7513 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.7323, allocations: 32.61 kB / 0.7513 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.7325, allocations: 179.7 kB / 0.7515 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.089e-05/0.7325, allocations: 63.91 kB / 0.7516 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.538e-05/0.7326, allocations: 43.17 kB / 0.7516 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.7327, allocations: 342.7 kB / 0.7519 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.7329, allocations: 72.48 kB / 0.752 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.7331, allocations: 121.6 kB / 0.7521 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/0.7335, allocations: 204.8 kB / 0.7523 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.7335, allocations: 0 / 0.7523 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004898/0.734, allocations: 260.6 kB / 0.7526 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.7341, allocations: 4 kB / 0.7526 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.7341, allocations: 0 / 0.7526 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.7341, allocations: 8.094 kB / 0.7526 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.7344, allocations: 51.53 kB / 0.7526 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.7344, allocations: 0 / 0.7526 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.7346, allocations: 43.61 kB / 0.7527 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/0.7346, allocations: 4 kB / 0.7527 GB, free: 1.66 MB / 0.5606 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.0001474/0.7348, allocations: 161.7 kB / 0.7528 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.207e-05/0.7349, allocations: 35.62 kB / 0.7529 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004942/0.7354, allocations: 223 kB / 0.7531 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.7354, allocations: 4 kB / 0.7531 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.7354, allocations: 0 / 0.7531 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.7354, allocations: 0 / 0.7531 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.7365, allocations: 0.7107 MB / 0.7538 GB, free: 452 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.7365, allocations: 0 / 0.7538 GB, free: 452 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002202/0.7367, allocations: 43.84 kB / 0.7538 GB, free: 408 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.7367, allocations: 8.219 kB / 0.7538 GB, free: 400 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.7368, allocations: 7.938 kB / 0.7538 GB, free: 392 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.7368, allocations: 0 / 0.7538 GB, free: 392 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.7368, allocations: 4 kB / 0.7538 GB, free: 388 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000698/0.7375, allocations: 445 kB / 0.7542 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.7376, allocations: 124.7 kB / 0.7544 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.835e-05/0.7377, allocations: 7.938 kB / 0.7544 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.7379, allocations: 23.98 kB / 0.7544 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.738, allocations: 11.98 kB / 0.7544 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.738, allocations: 8.875 kB / 0.7544 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002264/0.7382, allocations: 231 kB / 0.7546 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7382, allocations: 0 / 0.7546 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004273/0.7386, allocations: 83.91 kB / 0.7547 GB, free: 15.41 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 (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.0004037/0.7391, allocations: 177.3 kB / 0.7549 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004714/0.7395, allocations: 179.7 kB / 0.7551 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.7396, allocations: 4 kB / 0.7551 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.7398, allocations: 92.02 kB / 0.7551 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009411/0.7407, allocations: 159 kB / 0.7553 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.7418, allocations: 0.728 MB / 0.756 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.7422, allocations: 0.7797 MB / 0.7568 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002345/0.7424, allocations: 62.92 kB / 0.7568 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.727e-05/0.7425, allocations: 27.44 kB / 0.7569 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.7425, allocations: 0 / 0.7569 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of Templates: time 0.01093/0.7535, allocations: 5.534 MB / 0.7623 GB, free: 7.738 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)