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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IDEAS_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.001845/0.001845, allocations: 103.3 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.002544/0.002544, allocations: 173.3 kB / 15.95 MB, free: 212 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.948/2.948, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9467/0.9467, allocations: 132.2 MB / 423.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004144/0.0004145, allocations: 8 kB / 0.5033 GB, free: 4.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8856/0.886, allocations: 81.58 MB / 0.583 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.3297/1.216, allocations: 140.2 MB / 0.7199 GB, free: 4.043 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003442/1.219, allocations: 1.574 MB / 0.7214 GB, free: 2.469 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003664/1.22, allocations: 11.94 kB / 0.7214 GB, free: 2.457 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008267/1.221, allocations: 175.2 kB / 0.7216 GB, free: 2.285 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001937/1.223, allocations: 0.518 MB / 0.7221 GB, free: 1.766 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001619/1.224, allocations: 488.5 kB / 0.7226 GB, free: 1.293 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008849/1.225, allocations: 444.4 kB / 0.723 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004843/1.226, allocations: 197.1 kB / 0.7232 GB, free: 0.668 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/1.227, allocations: 343 kB / 0.7235 GB, free: 340 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/1.227, allocations: 167.3 kB / 0.7237 GB, free: 172 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.792e-05/1.227, allocations: 12 kB / 0.7237 GB, free: 160 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/1.228, allocations: 411.4 kB / 0.7241 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001657/1.228, allocations: 95.7 kB / 0.7242 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000131/1.228, allocations: 89.52 kB / 0.7243 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006286/1.229, allocations: 403 kB / 0.7246 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.229, allocations: 0 / 0.7246 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.136e-06/1.229, allocations: 0 / 0.7246 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.456e-06/1.229, allocations: 4 kB / 0.7246 GB, free: 15.17 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.001215/1.23, allocations: 0.6 MB / 0.7252 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/1.23, allocations: 12.03 kB / 0.7252 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.995e-05/1.23, allocations: 58.48 kB / 0.7253 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/1.232, allocations: 159.4 kB / 0.7254 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00051/1.232, allocations: 302.9 kB / 0.7257 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/1.232, allocations: 24.5 kB / 0.7258 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.711e-05/1.232, allocations: 24 kB / 0.7258 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005317/1.233, allocations: 285.8 kB / 0.7261 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/1.233, allocations: 0 / 0.7261 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/1.233, allocations: 16 kB / 0.7261 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/1.233, allocations: 4 kB / 0.7261 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005028/1.234, allocations: 208.9 kB / 0.7263 GB, free: 13.38 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.00216/1.236, allocations: 1.234 MB / 0.7275 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003416/1.236, allocations: 154.5 kB / 0.7276 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000473/1.237, allocations: 137 kB / 0.7278 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/1.237, allocations: 30.56 kB / 0.7278 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=17): time 1.663e-06/1.237, allocations: 0 / 0.7278 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of matching and sorting (n=17): time 0.0008924/1.237, allocations: 315.2 kB / 0.7281 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/1.238, allocations: 55.41 kB / 0.7281 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005433/1.238, allocations: 320.5 kB / 0.7284 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/1.238, allocations: 29.7 kB / 0.7285 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003995/1.239, allocations: 184.1 kB / 0.7286 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.578e-05/1.239, allocations: 63.17 kB / 0.7287 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.128e-05/1.239, allocations: 4 kB / 0.7287 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001835/1.239, allocations: 338.8 kB / 0.729 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/1.239, allocations: 75.95 kB / 0.7291 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/1.239, allocations: 129.1 kB / 0.7292 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/1.239, allocations: 91.86 kB / 0.7293 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.24, allocations: 0 / 0.7293 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005297/1.24, allocations: 271 kB / 0.7296 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/1.24, allocations: 7.938 kB / 0.7296 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/1.24, allocations: 0 / 0.7296 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/1.24, allocations: 4 kB / 0.7296 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/1.24, allocations: 39.98 kB / 0.7296 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/1.24, allocations: 7.938 kB / 0.7296 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/1.241, allocations: 47.72 kB / 0.7297 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-05/1.241, allocations: 15.98 kB / 0.7297 GB, free: 9.668 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001838/1.241, allocations: 149.8 kB / 0.7298 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.724e-05/1.241, allocations: 31.77 kB / 0.7299 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005559/1.242, allocations: 250.6 kB / 0.7301 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/1.242, allocations: 3.938 kB / 0.7301 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/1.242, allocations: 4 kB / 0.7301 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/1.242, allocations: 3.984 kB / 0.7301 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/1.243, allocations: 0.7146 MB / 0.7308 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/1.243, allocations: 224 / 0.7308 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/1.243, allocations: 35.98 kB / 0.7308 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/1.243, allocations: 4 kB / 0.7309 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/1.243, allocations: 8 kB / 0.7309 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.08e-05/1.243, allocations: 11.92 kB / 0.7309 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.243, allocations: 0 / 0.7309 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008828/1.244, allocations: 0.5399 MB / 0.7314 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/1.244, allocations: 120.8 kB / 0.7315 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.075e-05/1.244, allocations: 11.98 kB / 0.7315 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/1.244, allocations: 19.86 kB / 0.7315 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.537e-05/1.245, allocations: 19.97 kB / 0.7316 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/1.245, allocations: 4 kB / 0.7316 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002652/1.245, allocations: 231.1 kB / 0.7318 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/1.245, allocations: 0 / 0.7318 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004538/1.245, allocations: 84 kB / 0.7319 GB, free: 7.246 MB / 0.5606 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.001846/1.247, allocations: 1.625 MB / 0.7335 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005179/1.248, allocations: 185.9 kB / 0.7336 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/1.248, allocations: 4 kB / 0.7336 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00022/1.248, allocations: 99.81 kB / 0.7337 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009391/1.249, allocations: 157.8 kB / 0.7339 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00396/1.253, allocations: 2.593 MB / 0.7364 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007943/1.254, allocations: 0.7952 MB / 0.7372 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003024/1.254, allocations: 66.92 kB / 0.7373 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002602/1.254, allocations: 87.41 kB / 0.7373 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of SimCode: time 8.51e-07/1.254, allocations: 4 kB / 0.7373 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03643/1.291, allocations: 8.363 MB / 0.7455 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003339/1.291, allocations: 194.4 kB / 0.7457 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.992/4.283, allocations: 0 / 0.7457 GB, free: 9.098 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_Velocity.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1) Environment - environmentSimulation: