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-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_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.0008942/0.0008942, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001015/0.001015, allocations: 177.3 kB / 15.95 MB, free: 216 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.22/1.22, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8722/0.8722, allocations: 135.2 MB / 426.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003153/0.0003157, allocations: 8 kB / 0.5068 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1539, allocations: 82.31 MB / 0.5872 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.3638/0.5178, allocations: 140.2 MB / 0.7241 GB, free: 8.832 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002843/0.5207, allocations: 1.58 MB / 0.7256 GB, free: 7.727 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002234/0.5209, allocations: 9.375 kB / 0.7256 GB, free: 7.723 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005827/0.5215, allocations: 174.1 kB / 0.7258 GB, free: 7.625 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00131/0.5228, allocations: 0.5222 MB / 0.7263 GB, free: 7.297 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.5242, allocations: 485.9 kB / 0.7268 GB, free: 7.059 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005876/0.5248, allocations: 441.5 kB / 0.7272 GB, free: 6.836 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003756/0.5252, allocations: 195.9 kB / 0.7274 GB, free: 6.77 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008016/0.526, allocations: 343.2 kB / 0.7277 GB, free: 6.609 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002225/0.5263, allocations: 159.2 kB / 0.7279 GB, free: 6.539 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.358e-05/0.5263, allocations: 18.34 kB / 0.7279 GB, free: 6.535 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009861/0.5273, allocations: 424.8 kB / 0.7283 GB, free: 6.414 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.5274, allocations: 87.95 kB / 0.7284 GB, free: 6.383 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.214e-05/0.5275, allocations: 88.77 kB / 0.7285 GB, free: 6.324 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006045/0.5281, allocations: 403.6 kB / 0.7288 GB, free: 6.23 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.5281, allocations: 0 / 0.7288 GB, free: 6.23 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5282, allocations: 1.188 kB / 0.7288 GB, free: 6.23 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.5282, allocations: 0 / 0.7288 GB, free: 6.23 MB / 0.545 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.0008363/0.529, allocations: 0.6049 MB / 0.7294 GB, free: 5.719 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.529, allocations: 9.125 kB / 0.7294 GB, free: 5.719 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.5301, allocations: 163 kB / 0.7296 GB, free: 5.688 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004226/0.5306, allocations: 303.8 kB / 0.7299 GB, free: 5.434 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.5306, allocations: 17.12 kB / 0.7299 GB, free: 5.426 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.548e-05/0.5307, allocations: 24.25 kB / 0.7299 GB, free: 5.418 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004964/0.5312, allocations: 287.2 kB / 0.7302 GB, free: 5.27 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.5312, allocations: 1.375 kB / 0.7302 GB, free: 5.27 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.5312, allocations: 10.75 kB / 0.7302 GB, free: 5.262 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.5312, allocations: 5.5 kB / 0.7302 GB, free: 5.262 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000417/0.5317, allocations: 213.5 kB / 0.7304 GB, free: 5.203 MB / 0.545 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.001319/0.533, allocations: 1.234 MB / 0.7316 GB, free: 4.199 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.5333, allocations: 147.5 kB / 0.7318 GB, free: 4.137 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003929/0.5337, allocations: 140.4 kB / 0.7319 GB, free: 4.035 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.5337, allocations: 36.5 kB / 0.7319 GB, free: 3.992 MB / 0.545 GB Notification: Performance of pre-optimization done (n=17): time 1.282e-06/0.5337, allocations: 0 / 0.7319 GB, free: 3.992 MB / 0.545 GB Notification: Performance of matching and sorting (n=17): time 0.0007423/0.5345, allocations: 318.4 kB / 0.7322 GB, free: 3.875 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.5345, allocations: 52.53 kB / 0.7323 GB, free: 3.812 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/0.5348, allocations: 319.2 kB / 0.7326 GB, free: 3.652 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.5349, allocations: 33.28 kB / 0.7326 GB, free: 3.617 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.535, allocations: 182.9 kB / 0.7328 GB, free: 3.461 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.67e-05/0.535, allocations: 63.58 kB / 0.7329 GB, free: 3.41 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.277e-06/0.535, allocations: 4 kB / 0.7329 GB, free: 3.406 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.5352, allocations: 339.7 kB / 0.7332 GB, free: 3.082 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.5354, allocations: 75.7 kB / 0.7333 GB, free: 3.062 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.5356, allocations: 131.4 kB / 0.7334 GB, free: 2.988 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.5357, allocations: 93.17 kB / 0.7335 GB, free: 2.953 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.5358, allocations: 3.953 kB / 0.7335 GB, free: 2.949 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004378/0.5362, allocations: 261 kB / 0.7337 GB, free: 2.84 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.5362, allocations: 6.125 kB / 0.7337 GB, free: 2.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.5362, allocations: 8.969 kB / 0.7337 GB, free: 2.836 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.5362, allocations: 3.125 kB / 0.7338 GB, free: 2.836 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.5364, allocations: 46.91 kB / 0.7338 GB, free: 2.832 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.5365, allocations: 7.609 kB / 0.7338 GB, free: 2.828 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.5367, allocations: 41.59 kB / 0.7338 GB, free: 2.809 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.5367, allocations: 6.656 kB / 0.7338 GB, free: 2.809 MB / 0.545 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.0001292/0.5369, allocations: 150.6 kB / 0.734 GB, free: 2.676 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.819e-05/0.5369, allocations: 34.81 kB / 0.734 GB, free: 2.656 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004509/0.5374, allocations: 239.8 kB / 0.7343 GB, free: 2.551 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.5374, allocations: 6.531 kB / 0.7343 GB, free: 2.547 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.5374, allocations: 1.125 kB / 0.7343 GB, free: 2.547 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.5374, allocations: 0 / 0.7343 GB, free: 2.547 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009899/0.5384, allocations: 0.716 MB / 0.735 GB, free: 2.051 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.5384, allocations: 2.594 kB / 0.735 GB, free: 2.051 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.5386, allocations: 37.64 kB / 0.735 GB, free: 2.047 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.5386, allocations: 3.688 kB / 0.735 GB, free: 2.047 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.5386, allocations: 7.031 kB / 0.735 GB, free: 2.043 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.5386, allocations: 8.406 kB / 0.735 GB, free: 2.039 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5386, allocations: 4.906 kB / 0.735 GB, free: 2.039 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006767/0.5393, allocations: 0.5423 MB / 0.7356 GB, free: 1.617 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.5394, allocations: 122.4 kB / 0.7357 GB, free: 1.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.359e-05/0.5395, allocations: 7.281 kB / 0.7357 GB, free: 1.496 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.5397, allocations: 23 kB / 0.7357 GB, free: 1.488 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/0.5397, allocations: 22.05 kB / 0.7357 GB, free: 1.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.5398, allocations: 2.875 kB / 0.7357 GB, free: 1.48 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002002/0.54, allocations: 238.1 kB / 0.7359 GB, free: 1.352 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.54, allocations: 0 / 0.7359 GB, free: 1.352 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003744/0.5403, allocations: 76.17 kB / 0.736 GB, free: 1.344 MB / 0.545 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.0003305/0.5407, allocations: 164.4 kB / 0.7362 GB, free: 1.234 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003915/0.5411, allocations: 192.8 kB / 0.7364 GB, free: 1.184 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5411, allocations: 0 / 0.7364 GB, free: 1.184 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.5413, allocations: 96.72 kB / 0.7365 GB, free: 1.156 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007512/0.542, allocations: 156.3 kB / 0.7366 GB, free: 1.117 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009158/0.543, allocations: 0.7496 MB / 0.7373 GB, free: 0.625 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.5433, allocations: 0.7867 MB / 0.7381 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002/0.5435, allocations: 65.58 kB / 0.7382 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.306e-05/0.5436, allocations: 25.27 kB / 0.7382 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.5436, allocations: 0 / 0.7382 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of Templates: time 0.0085/0.5521, allocations: 5.344 MB / 0.7434 GB, free: 12.25 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: