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.00863/0.00863, allocations: 98.19 kB / 15.73 MB, free: 5.605 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.002156/0.002156, allocations: 199.7 kB / 16.67 MB, free: 5.531 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8147/0.8147, allocations: 132.2 MB / 422.7 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 68.38 kB / 0.5809 GB, free: 24.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1424, allocations: 80.21 MB / 0.6592 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.4868/0.6293, allocations: 167.4 MB / 0.8227 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003047/0.6324, allocations: 1.558 MB / 0.8242 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003271/0.6328, allocations: 12.06 kB / 0.8242 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005352/0.6333, allocations: 146.2 kB / 0.8244 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00186/0.6352, allocations: 0.706 MB / 0.825 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.6368, allocations: 0.6102 MB / 0.8256 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008395/0.6376, allocations: 0.7163 MB / 0.8263 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004135/0.6381, allocations: 233 kB / 0.8266 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006483/0.6387, allocations: 343.1 kB / 0.8269 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003085/0.639, allocations: 232.1 kB / 0.8271 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.275e-05/0.6391, allocations: 22.38 kB / 0.8271 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00144/0.6405, allocations: 0.8758 MB / 0.828 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.6407, allocations: 110.8 kB / 0.8281 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.6409, allocations: 168.9 kB / 0.8283 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.6419, allocations: 0.7422 MB / 0.829 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.6419, allocations: 0 / 0.829 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6419, allocations: 2.562 kB / 0.829 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.6419, allocations: 0 / 0.829 GB, free: 1.566 MB / 0.5919 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.001036/0.643, allocations: 0.6786 MB / 0.8296 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.643, allocations: 10.12 kB / 0.8297 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.241e-05/0.6431, allocations: 54.33 kB / 0.8297 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.6442, allocations: 159.6 kB / 0.8299 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005136/0.6447, allocations: 332.9 kB / 0.8302 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.6447, allocations: 14.66 kB / 0.8302 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.82e-05/0.6448, allocations: 27.06 kB / 0.8302 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004905/0.6453, allocations: 278.4 kB / 0.8305 GB, free: 328 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.6453, allocations: 7.984 kB / 0.8305 GB, free: 320 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/0.6453, allocations: 9.812 kB / 0.8305 GB, free: 312 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.6453, allocations: 5.812 kB / 0.8305 GB, free: 312 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004087/0.6458, allocations: 199.2 kB / 0.8307 GB, free: 224 kB / 0.5919 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.001473/0.6472, allocations: 1.238 MB / 0.8319 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/0.6475, allocations: 144.9 kB / 0.832 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/0.6477, allocations: 96.8 kB / 0.8321 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005772/0.6483, allocations: 299.9 kB / 0.8324 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.6484, allocations: 37.41 kB / 0.8325 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=17): time 3.397e-06/0.6484, allocations: 11.92 kB / 0.8325 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17): time 0.0007653/0.6492, allocations: 297 kB / 0.8327 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.6492, allocations: 54.38 kB / 0.8328 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003141/0.6495, allocations: 317.3 kB / 0.8331 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.6496, allocations: 29.7 kB / 0.8331 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.6497, allocations: 193.2 kB / 0.8333 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.628e-05/0.6498, allocations: 59.73 kB / 0.8334 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.781e-05/0.6499, allocations: 51.12 kB / 0.8334 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.65, allocations: 342.5 kB / 0.8337 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.6502, allocations: 67.19 kB / 0.8338 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.6504, allocations: 133.7 kB / 0.8339 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003554/0.6508, allocations: 189 kB / 0.8341 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.6508, allocations: 0.6875 kB / 0.8341 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000465/0.6513, allocations: 261.2 kB / 0.8344 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.6513, allocations: 4.5 kB / 0.8344 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.6513, allocations: 2.938 kB / 0.8344 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.6513, allocations: 2.875 kB / 0.8344 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.6515, allocations: 44.09 kB / 0.8344 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.6516, allocations: 3 kB / 0.8344 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.6518, allocations: 41.52 kB / 0.8345 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/0.6518, allocations: 17.09 kB / 0.8345 GB, free: 13.1 MB / 0.6075 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.0001455/0.6519, allocations: 152 kB / 0.8346 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.948e-05/0.652, allocations: 30.47 kB / 0.8347 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004707/0.6525, allocations: 225.9 kB / 0.8349 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.6525, allocations: 2.688 kB / 0.8349 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.6525, allocations: 0 / 0.8349 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.6525, allocations: 7.984 kB / 0.8349 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.6536, allocations: 0.7069 MB / 0.8356 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.6536, allocations: 2.781 kB / 0.8356 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.6538, allocations: 33.08 kB / 0.8356 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.6538, allocations: 6.719 kB / 0.8356 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.6538, allocations: 8.344 kB / 0.8356 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.6538, allocations: 6.984 kB / 0.8356 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.6538, allocations: 2.719 kB / 0.8356 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006589/0.6545, allocations: 446.8 kB / 0.8361 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.6546, allocations: 136.5 kB / 0.8362 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.419e-05/0.6547, allocations: 10.31 kB / 0.8362 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.6548, allocations: 15.42 kB / 0.8362 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.6549, allocations: 13.2 kB / 0.8362 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.6549, allocations: 11.25 kB / 0.8362 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002221/0.6551, allocations: 232.6 kB / 0.8365 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6551, allocations: 4.062 kB / 0.8365 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003621/0.6555, allocations: 80.42 kB / 0.8365 GB, free: 11.53 MB / 0.6075 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.001241/0.6568, allocations: 1.048 MB / 0.8376 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004276/0.6572, allocations: 180.2 kB / 0.8377 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6572, allocations: 0 / 0.8377 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.6574, allocations: 88.52 kB / 0.8378 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008374/0.6583, allocations: 168.3 kB / 0.838 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003587/0.6619, allocations: 3 MB / 0.8409 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.6623, allocations: 0.7832 MB / 0.8417 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000191/0.6625, allocations: 62.17 kB / 0.8417 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.6626, allocations: 96.86 kB / 0.8418 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.6626, allocations: 0 / 0.8418 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03388/0.6965, allocations: 9.019 MB / 0.8506 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.341/9.037, allocations: 6.328 kB / 0.8506 GB, free: 1.691 MB / 0.6075 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/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)