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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 97.97 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.003097/0.003098, 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 2.38/2.38, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.322/1.322, allocations: 135.2 MB / 426.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006415/0.0006417, allocations: 12 kB / 0.5069 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3029, allocations: 82.31 MB / 0.5873 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 1.513/1.816, allocations: 140.2 MB / 0.7242 GB, free: 8.715 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009229/1.825, allocations: 1.578 MB / 0.7257 GB, free: 7.613 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/1.827, allocations: 9.531 kB / 0.7257 GB, free: 7.609 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001753/1.828, allocations: 170.5 kB / 0.7259 GB, free: 7.516 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005276/1.834, allocations: 0.5255 MB / 0.7264 GB, free: 7.184 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005177/1.839, allocations: 492.2 kB / 0.7269 GB, free: 6.941 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002806/1.842, allocations: 438.7 kB / 0.7273 GB, free: 6.723 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001395/1.843, allocations: 190.8 kB / 0.7275 GB, free: 6.66 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003533/1.847, allocations: 349.8 kB / 0.7278 GB, free: 6.492 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/1.848, allocations: 157 kB / 0.728 GB, free: 6.426 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002097/1.848, allocations: 13.56 kB / 0.728 GB, free: 6.426 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005069/1.853, allocations: 419.7 kB / 0.7284 GB, free: 6.309 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006424/1.854, allocations: 97.73 kB / 0.7285 GB, free: 6.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006365/1.854, allocations: 84.86 kB / 0.7285 GB, free: 6.215 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003133/1.858, allocations: 399.4 kB / 0.7289 GB, free: 6.129 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.888e-06/1.858, allocations: 0 / 0.7289 GB, free: 6.129 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.084e-06/1.858, allocations: 3.938 kB / 0.7289 GB, free: 6.125 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.606e-05/1.858, allocations: 4 kB / 0.7289 GB, free: 6.121 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.003389/1.861, allocations: 0.6046 MB / 0.7295 GB, free: 5.609 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001151/1.861, allocations: 9.625 kB / 0.7295 GB, free: 5.609 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000307/1.862, allocations: 60.52 kB / 0.7296 GB, free: 5.555 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003591/1.865, allocations: 170.1 kB / 0.7297 GB, free: 5.516 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002103/1.867, allocations: 299 kB / 0.73 GB, free: 5.266 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/1.867, allocations: 14.81 kB / 0.73 GB, free: 5.262 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002117/1.868, allocations: 24.19 kB / 0.7301 GB, free: 5.254 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/1.87, allocations: 287.4 kB / 0.7303 GB, free: 5.105 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.627e-05/1.87, allocations: 1.281 kB / 0.7303 GB, free: 5.105 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.024e-05/1.87, allocations: 10.5 kB / 0.7304 GB, free: 5.098 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.578e-05/1.87, allocations: 5.312 kB / 0.7304 GB, free: 5.098 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/1.871, allocations: 208.8 kB / 0.7306 GB, free: 5.043 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.00475/1.876, allocations: 1.239 MB / 0.7318 GB, free: 4.035 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000716/1.877, allocations: 156.7 kB / 0.7319 GB, free: 3.965 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009067/1.878, allocations: 134.7 kB / 0.732 GB, free: 3.867 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.384e-05/1.878, allocations: 36.45 kB / 0.7321 GB, free: 3.824 MB / 0.545 GB Notification: Performance of pre-optimization done (n=17): time 4.539e-06/1.878, allocations: 0 / 0.7321 GB, free: 3.824 MB / 0.545 GB Notification: Performance of matching and sorting (n=17): time 0.002255/1.88, allocations: 319.1 kB / 0.7324 GB, free: 3.707 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.952e-05/1.88, allocations: 54.58 kB / 0.7324 GB, free: 3.645 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/1.882, allocations: 317.2 kB / 0.7327 GB, free: 3.484 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.567e-05/1.882, allocations: 27.02 kB / 0.7328 GB, free: 3.453 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003392/1.882, allocations: 184.5 kB / 0.7329 GB, free: 3.297 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/1.882, allocations: 55.75 kB / 0.733 GB, free: 3.254 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/1.882, allocations: 5.438 kB / 0.733 GB, free: 3.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0004682/1.883, allocations: 343 kB / 0.7333 GB, free: 2.922 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004232/1.883, allocations: 74.94 kB / 0.7334 GB, free: 2.902 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006507/1.884, allocations: 131.1 kB / 0.7335 GB, free: 2.828 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005428/1.884, allocations: 93.58 kB / 0.7336 GB, free: 2.793 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.876e-06/1.884, allocations: 0 / 0.7336 GB, free: 2.793 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001455/1.886, allocations: 270.6 kB / 0.7339 GB, free: 2.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.78e-05/1.886, allocations: 4.906 kB / 0.7339 GB, free: 2.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.449e-05/1.886, allocations: 2.875 kB / 0.7339 GB, free: 2.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.581e-05/1.886, allocations: 3.422 kB / 0.7339 GB, free: 2.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005526/1.887, allocations: 46.16 kB / 0.7339 GB, free: 2.676 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.353e-05/1.887, allocations: 7.188 kB / 0.7339 GB, free: 2.672 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000823/1.887, allocations: 43.23 kB / 0.734 GB, free: 2.648 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-05/1.888, allocations: 8.375 kB / 0.734 GB, free: 2.648 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.000551/1.888, allocations: 155.6 kB / 0.7341 GB, free: 2.512 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/1.888, allocations: 31.25 kB / 0.7342 GB, free: 2.496 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/1.89, allocations: 247.4 kB / 0.7344 GB, free: 2.387 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-05/1.89, allocations: 1.875 kB / 0.7344 GB, free: 2.387 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.711e-05/1.89, allocations: 0.7969 kB / 0.7344 GB, free: 2.387 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/1.89, allocations: 0.5156 kB / 0.7344 GB, free: 2.387 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003364/1.893, allocations: 0.7197 MB / 0.7351 GB, free: 1.887 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/1.893, allocations: 1.438 kB / 0.7351 GB, free: 1.887 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003897/1.894, allocations: 39.91 kB / 0.7351 GB, free: 1.883 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.36e-05/1.894, allocations: 3.406 kB / 0.7351 GB, free: 1.883 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.98e-05/1.894, allocations: 2.781 kB / 0.7351 GB, free: 1.883 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.185e-05/1.894, allocations: 7.797 kB / 0.7352 GB, free: 1.879 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.345e-06/1.894, allocations: 6.656 kB / 0.7352 GB, free: 1.875 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/1.896, allocations: 0.5425 MB / 0.7357 GB, free: 1.453 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004003/1.896, allocations: 123.7 kB / 0.7358 GB, free: 1.336 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/1.896, allocations: 7.406 kB / 0.7358 GB, free: 1.332 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004719/1.897, allocations: 25.97 kB / 0.7358 GB, free: 1.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/1.897, allocations: 16.94 kB / 0.7359 GB, free: 1.316 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.652e-05/1.897, allocations: 5.312 kB / 0.7359 GB, free: 1.316 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006604/1.898, allocations: 231 kB / 0.7361 GB, free: 1.191 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.91e-07/1.898, allocations: 0 / 0.7361 GB, free: 1.191 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001142/1.899, allocations: 79.25 kB / 0.7362 GB, free: 1.184 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.004844/1.904, allocations: 1.629 MB / 0.7377 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001227/1.905, allocations: 183.3 kB / 0.7379 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/1.905, allocations: 2.125 kB / 0.7379 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005165/1.906, allocations: 97.64 kB / 0.738 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00204/1.908, allocations: 157.9 kB / 0.7382 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007587/1.915, allocations: 2.598 MB / 0.7407 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001433/1.917, allocations: 0.791 MB / 0.7415 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007963/1.918, allocations: 67.66 kB / 0.7415 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000366/1.918, allocations: 91.88 kB / 0.7416 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of SimCode: time 3.687e-06/1.918, allocations: 0 / 0.7416 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1165/2.035, allocations: 8.373 MB / 0.7498 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000629/2.035, allocations: 214.8 kB / 0.75 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.263/6.298, allocations: 0 / 0.75 GB, free: 5.461 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Velocity.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1) Environment - environmentSimulation: