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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001955/0.001955, allocations: 181 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7278/0.7278, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 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 / 403.4 MB, free: 7.109 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 95.75 kB / 484.3 MB, free: 8.719 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009835/0.0009835, allocations: 51.92 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1406, allocations: 80.22 MB / 0.6402 GB, free: 6.785 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.4728/0.6135, allocations: 165.1 MB / 0.8014 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.00253/0.616, allocations: 1.573 MB / 0.803 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002682/0.6163, allocations: 11.94 kB / 0.803 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0004119/0.6167, allocations: 115.2 kB / 0.8031 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.001557/0.6183, allocations: 0.677 MB / 0.8038 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.6198, allocations: 0.5491 MB / 0.8043 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.001116/0.6209, allocations: 0.9828 MB / 0.8053 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003572/0.6213, allocations: 217 kB / 0.8055 GB, free: 9.949 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006461/0.622, allocations: 314.7 kB / 0.8058 GB, free: 9.641 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003098/0.6223, allocations: 243 kB / 0.806 GB, free: 9.402 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 4.054e-05/0.6223, allocations: 16 kB / 0.806 GB, free: 9.387 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001733/0.6241, allocations: 1.017 MB / 0.807 GB, free: 8.367 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.6242, allocations: 103.7 kB / 0.8071 GB, free: 8.266 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.6244, allocations: 159.2 kB / 0.8073 GB, free: 8.109 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.6255, allocations: 0.7712 MB / 0.808 GB, free: 7.336 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.6255, allocations: 0 / 0.808 GB, free: 7.336 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6255, allocations: 0 / 0.808 GB, free: 7.336 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.6255, allocations: 0 / 0.808 GB, free: 7.336 MB / 0.5417 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.0009839/0.6265, allocations: 0.67 MB / 0.8087 GB, free: 6.613 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.6266, allocations: 8.031 kB / 0.8087 GB, free: 6.605 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.6276, allocations: 155.4 kB / 0.8088 GB, free: 6.453 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000448/0.6281, allocations: 322.5 kB / 0.8091 GB, free: 6.102 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.6281, allocations: 16.5 kB / 0.8091 GB, free: 6.086 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.361e-05/0.6282, allocations: 24 kB / 0.8092 GB, free: 6.062 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004626/0.6286, allocations: 285.8 kB / 0.8094 GB, free: 5.762 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.6286, allocations: 3.984 kB / 0.8094 GB, free: 5.758 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.6287, allocations: 12 kB / 0.8095 GB, free: 5.746 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.6287, allocations: 4 kB / 0.8095 GB, free: 5.742 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004008/0.6291, allocations: 200.9 kB / 0.8096 GB, free: 5.547 MB / 0.5417 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.001417/0.6305, allocations: 1.227 MB / 0.8108 GB, free: 4.215 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/0.6308, allocations: 150.4 kB / 0.811 GB, free: 4.059 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.631, allocations: 99.05 kB / 0.8111 GB, free: 3.961 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006018/0.6316, allocations: 303.2 kB / 0.8114 GB, free: 3.609 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.6317, allocations: 34.56 kB / 0.8114 GB, free: 3.566 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=17): time 4.469e-06/0.6317, allocations: 3.984 kB / 0.8114 GB, free: 3.562 MB / 0.5417 GB Notification: Performance of matching and sorting (n=17): time 0.0007583/0.6324, allocations: 299.5 kB / 0.8117 GB, free: 3.266 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.6325, allocations: 51.41 kB / 0.8117 GB, free: 3.203 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/0.6328, allocations: 320.5 kB / 0.8121 GB, free: 2.879 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.6328, allocations: 29.7 kB / 0.8121 GB, free: 2.844 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.633, allocations: 184.2 kB / 0.8123 GB, free: 2.66 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.097e-05/0.633, allocations: 63.09 kB / 0.8123 GB, free: 2.598 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.49e-05/0.6331, allocations: 49.7 kB / 0.8124 GB, free: 2.543 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.6333, allocations: 342.8 kB / 0.8127 GB, free: 2.199 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.6334, allocations: 63.95 kB / 0.8128 GB, free: 2.137 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.6337, allocations: 121.9 kB / 0.8129 GB, free: 2 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003569/0.634, allocations: 203 kB / 0.8131 GB, free: 1.785 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.634, allocations: 3.938 kB / 0.8131 GB, free: 1.781 MB / 0.5417 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004594/0.6345, allocations: 257 kB / 0.8133 GB, free: 1.523 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.6345, allocations: 4 kB / 0.8133 GB, free: 1.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.6345, allocations: 0 / 0.8133 GB, free: 1.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.6346, allocations: 4 kB / 0.8133 GB, free: 1.516 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.6348, allocations: 43.97 kB / 0.8134 GB, free: 1.473 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.6348, allocations: 3.938 kB / 0.8134 GB, free: 1.469 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.635, allocations: 39.77 kB / 0.8134 GB, free: 1.43 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.635, allocations: 16 kB / 0.8134 GB, free: 1.414 MB / 0.5417 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.0001359/0.6352, allocations: 151.1 kB / 0.8136 GB, free: 1.258 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.217e-05/0.6352, allocations: 31.62 kB / 0.8136 GB, free: 1.227 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004774/0.6357, allocations: 235.2 kB / 0.8138 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.6357, allocations: 0 / 0.8138 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6357, allocations: 3.75 kB / 0.8138 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.6357, allocations: 4 kB / 0.8138 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.6368, allocations: 0.7107 MB / 0.8145 GB, free: 204 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.6368, allocations: 0 / 0.8145 GB, free: 204 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.637, allocations: 35.97 kB / 0.8146 GB, free: 168 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.303e-06/0.637, allocations: 4 kB / 0.8146 GB, free: 164 kB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.637, allocations: 15.88 kB / 0.8146 GB, free: 148 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.637, allocations: 3.938 kB / 0.8146 GB, free: 144 kB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.637, allocations: 4 kB / 0.8146 GB, free: 140 kB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004288/0.6413, allocations: 2.05 MB / 0.8166 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.6415, allocations: 124.6 kB / 0.8167 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.543e-05/0.6415, allocations: 8 kB / 0.8167 GB, free: 13.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.6417, allocations: 19.89 kB / 0.8167 GB, free: 13.76 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/0.6418, allocations: 15.92 kB / 0.8167 GB, free: 13.74 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.6418, allocations: 16.02 kB / 0.8168 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000215/0.642, allocations: 235 kB / 0.817 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.1e-07/0.642, allocations: 0 / 0.817 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005183/0.6426, allocations: 111.9 kB / 0.8171 GB, free: 13.39 MB / 0.5573 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.0003708/0.6429, allocations: 149.2 kB / 0.8172 GB, free: 13.24 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004392/0.6434, allocations: 181.8 kB / 0.8174 GB, free: 13.07 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6434, allocations: 3.938 kB / 0.8174 GB, free: 13.06 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001883/0.6436, allocations: 95.81 kB / 0.8175 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008916/0.6445, allocations: 165.8 kB / 0.8177 GB, free: 12.81 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.6457, allocations: 0.8802 MB / 0.8185 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.646, allocations: 0.7913 MB / 0.8193 GB, free: 11.05 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000215/0.6462, allocations: 64.8 kB / 0.8193 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.213e-05/0.6463, allocations: 27.44 kB / 0.8194 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of SimCode: time 2.21e-07/0.6463, allocations: 3.938 kB / 0.8194 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of Templates: time 0.009836/0.6562, allocations: 5.671 MB / 0.8249 GB, free: 5.367 MB / 0.5573 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)