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.004602/0.004602, allocations: 100.4 kB / 15.73 MB, free: 6.012 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.001272/0.001272, allocations: 191.9 kB / 16.67 MB, free: 5.934 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8128/0.8128, allocations: 135.6 MB / 426.1 MB, free: 3.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 65.45 kB / 0.5858 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1617, allocations: 81.03 MB / 0.6649 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.5331/0.6948, allocations: 167.4 MB / 0.8284 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002791/0.6976, allocations: 1.561 MB / 0.8299 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002734/0.6979, allocations: 10.84 kB / 0.8299 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004799/0.6984, allocations: 160.6 kB / 0.83 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001652/0.7001, allocations: 0.7003 MB / 0.8307 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.7015, allocations: 0.6019 MB / 0.8313 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007311/0.7023, allocations: 0.7235 MB / 0.832 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003588/0.7027, allocations: 225 kB / 0.8322 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006238/0.7033, allocations: 353.6 kB / 0.8326 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002977/0.7036, allocations: 221.8 kB / 0.8328 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.268e-05/0.7036, allocations: 22.47 kB / 0.8328 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001483/0.7051, allocations: 0.8716 MB / 0.8337 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.7053, allocations: 110.8 kB / 0.8338 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.7055, allocations: 175.9 kB / 0.8339 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.7066, allocations: 0.7449 MB / 0.8347 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.7066, allocations: 0 / 0.8347 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7066, allocations: 0 / 0.8347 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.7066, allocations: 0 / 0.8347 GB, free: 10.95 MB / 0.6075 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.001005/0.7076, allocations: 0.6775 MB / 0.8353 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.7076, allocations: 8.766 kB / 0.8353 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.305e-05/0.7077, allocations: 54.39 kB / 0.8354 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.7088, allocations: 162.5 kB / 0.8355 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005178/0.7093, allocations: 332.3 kB / 0.8358 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.7093, allocations: 18.75 kB / 0.8359 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.593e-05/0.7094, allocations: 23.44 kB / 0.8359 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004884/0.7099, allocations: 283.3 kB / 0.8362 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.7099, allocations: 4 kB / 0.8362 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.7099, allocations: 10.38 kB / 0.8362 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.71, allocations: 11.47 kB / 0.8362 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004168/0.7104, allocations: 201 kB / 0.8364 GB, free: 9.602 MB / 0.6075 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.001465/0.7119, allocations: 1.234 MB / 0.8376 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.7121, allocations: 148.8 kB / 0.8377 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.7123, allocations: 98.7 kB / 0.8378 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005584/0.7129, allocations: 298.3 kB / 0.8381 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.7129, allocations: 36.28 kB / 0.8381 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.7129, allocations: 4 kB / 0.8381 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17): time 0.0007452/0.7137, allocations: 292.1 kB / 0.8384 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.7137, allocations: 53.81 kB / 0.8385 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003169/0.7141, allocations: 322.3 kB / 0.8388 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.7141, allocations: 32.55 kB / 0.8388 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.7143, allocations: 187.9 kB / 0.839 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.049e-05/0.7143, allocations: 58.86 kB / 0.839 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.672e-05/0.7144, allocations: 47.09 kB / 0.8391 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.7146, allocations: 346.4 kB / 0.8394 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.7147, allocations: 69.62 kB / 0.8395 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.7149, allocations: 127.4 kB / 0.8396 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003507/0.7153, allocations: 191.2 kB / 0.8398 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7153, allocations: 0 / 0.8398 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004563/0.7158, allocations: 262.1 kB / 0.84 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.7158, allocations: 7.469 kB / 0.84 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.7158, allocations: 0 / 0.84 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.7158, allocations: 2.859 kB / 0.84 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.716, allocations: 43.14 kB / 0.8401 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.716, allocations: 6.703 kB / 0.8401 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.7162, allocations: 37.47 kB / 0.8401 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/0.7163, allocations: 19.66 kB / 0.8402 GB, free: 6.477 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.0001488/0.7164, allocations: 151.6 kB / 0.8403 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.139e-05/0.7165, allocations: 30.56 kB / 0.8403 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004683/0.717, allocations: 228 kB / 0.8405 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.717, allocations: 5.594 kB / 0.8405 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.717, allocations: 0 / 0.8405 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.717, allocations: 4 kB / 0.8406 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.718, allocations: 0.7136 MB / 0.8412 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.718, allocations: 2.094 kB / 0.8412 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.7182, allocations: 34.95 kB / 0.8413 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.7182, allocations: 7.156 kB / 0.8413 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.7182, allocations: 6.75 kB / 0.8413 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.7182, allocations: 2.375 kB / 0.8413 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.7183, allocations: 6.531 kB / 0.8413 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006735/0.7189, allocations: 455.4 kB / 0.8417 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.7191, allocations: 131.9 kB / 0.8419 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.577e-05/0.7191, allocations: 12.94 kB / 0.8419 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.7193, allocations: 9.047 kB / 0.8419 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.7194, allocations: 19.2 kB / 0.8419 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.7194, allocations: 4.906 kB / 0.8419 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002278/0.7196, allocations: 233.5 kB / 0.8421 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7196, allocations: 64 / 0.8421 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003621/0.72, allocations: 79.69 kB / 0.8422 GB, free: 4.91 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.001281/0.7213, allocations: 1.043 MB / 0.8432 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004223/0.7217, allocations: 181.1 kB / 0.8434 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.7217, allocations: 3.938 kB / 0.8434 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001803/0.7219, allocations: 88.45 kB / 0.8435 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008628/0.7228, allocations: 174.7 kB / 0.8437 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003623/0.7264, allocations: 2.998 MB / 0.8466 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.7268, allocations: 0.7831 MB / 0.8473 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000194/0.727, allocations: 62.22 kB / 0.8474 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.7272, allocations: 97.12 kB / 0.8475 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.7272, allocations: 0 / 0.8475 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03409/0.7613, allocations: 9.03 MB / 0.8563 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.117/8.878, allocations: 11.59 kB / 0.8563 GB, free: 10.02 MB / 0.6231 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/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)