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.00206/0.00206, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002289/0.002289, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.457/1.457, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.235/1.235, allocations: 135.1 MB / 425.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002594/0.002594, allocations: 60.92 kB / 0.505 GB, free: 5.57 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2095, allocations: 80.93 MB / 0.584 GB, free: 4.809 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.4764/0.6859, allocations: 165.1 MB / 0.7452 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00304/0.689, allocations: 1.547 MB / 0.7467 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003349/0.6893, allocations: 10.69 kB / 0.7468 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005611/0.6899, allocations: 124.3 kB / 0.7469 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002015/0.692, allocations: 0.6689 MB / 0.7475 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.6938, allocations: 0.5688 MB / 0.7481 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001021/0.6948, allocations: 0.7197 MB / 0.7488 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003869/0.6952, allocations: 235.8 kB / 0.749 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006443/0.6958, allocations: 341.3 kB / 0.7493 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002682/0.6961, allocations: 243.1 kB / 0.7496 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.582e-05/0.6962, allocations: 21.72 kB / 0.7496 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/0.6975, allocations: 0.8978 MB / 0.7505 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.6977, allocations: 119.2 kB / 0.7506 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.6979, allocations: 166.8 kB / 0.7507 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.6989, allocations: 0.7866 MB / 0.7515 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.6989, allocations: 0 / 0.7515 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.125e-06/0.6989, allocations: 0 / 0.7515 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.6989, allocations: 3.938 kB / 0.7515 GB, free: 1.336 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.0009982/0.6999, allocations: 0.6622 MB / 0.7522 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.7, allocations: 8.219 kB / 0.7522 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.957e-05/0.7001, allocations: 66.53 kB / 0.7522 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.7012, allocations: 154.7 kB / 0.7524 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000392/0.7016, allocations: 319.8 kB / 0.7527 GB, free: 320 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.7016, allocations: 21.09 kB / 0.7527 GB, free: 308 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.362e-05/0.7017, allocations: 24.09 kB / 0.7527 GB, free: 300 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005035/0.7022, allocations: 285.2 kB / 0.753 GB, free: 104 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.7022, allocations: 3.938 kB / 0.753 GB, free: 100 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.7022, allocations: 6.844 kB / 0.753 GB, free: 96 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.7022, allocations: 5 kB / 0.753 GB, free: 96 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004148/0.7027, allocations: 202.5 kB / 0.7532 GB, free: 15.95 MB / 0.5762 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.704, allocations: 1.229 MB / 0.7544 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.7043, allocations: 152.9 kB / 0.7546 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.7044, allocations: 92.8 kB / 0.7546 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006254/0.7051, allocations: 307.2 kB / 0.7549 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.7051, allocations: 34.56 kB / 0.755 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 1.673e-06/0.7051, allocations: 0 / 0.755 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.0007439/0.7059, allocations: 301.4 kB / 0.7553 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.7059, allocations: 51.41 kB / 0.7553 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003171/0.7063, allocations: 320.5 kB / 0.7556 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.7063, allocations: 25.7 kB / 0.7556 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.7064, allocations: 184.2 kB / 0.7558 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.16e-05/0.7065, allocations: 59.11 kB / 0.7559 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.532e-05/0.7066, allocations: 49.64 kB / 0.7559 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.7067, allocations: 346.8 kB / 0.7562 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.7069, allocations: 71.94 kB / 0.7563 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.7071, allocations: 124.2 kB / 0.7564 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003515/0.7075, allocations: 197 kB / 0.7566 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7075, allocations: 0 / 0.7566 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004659/0.7079, allocations: 249.1 kB / 0.7569 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.708, allocations: 8 kB / 0.7569 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.708, allocations: 0 / 0.7569 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.708, allocations: 4 kB / 0.7569 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.7082, allocations: 51.91 kB / 0.7569 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.7082, allocations: 0 / 0.7569 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.7084, allocations: 35.67 kB / 0.757 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.626e-05/0.7085, allocations: 8 kB / 0.757 GB, free: 11.84 MB / 0.5762 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.000139/0.7086, allocations: 157.7 kB / 0.7571 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.015e-05/0.7087, allocations: 35.56 kB / 0.7571 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004624/0.7091, allocations: 234.5 kB / 0.7574 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.7092, allocations: 4.141 kB / 0.7574 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.7092, allocations: 0 / 0.7574 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.7092, allocations: 3.984 kB / 0.7574 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009527/0.7101, allocations: 0.7031 MB / 0.7581 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.7101, allocations: 4.031 kB / 0.7581 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.7103, allocations: 40.55 kB / 0.7581 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.7103, allocations: 7.984 kB / 0.7581 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.7104, allocations: 7.938 kB / 0.7581 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.7104, allocations: 0.5469 kB / 0.7581 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.7104, allocations: 10.69 kB / 0.7581 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006517/0.711, allocations: 449 kB / 0.7586 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.7111, allocations: 120.8 kB / 0.7587 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.529e-05/0.7112, allocations: 11.92 kB / 0.7587 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.7114, allocations: 23.92 kB / 0.7587 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.613e-05/0.7115, allocations: 11.92 kB / 0.7587 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.7115, allocations: 12 kB / 0.7587 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002051/0.7117, allocations: 227 kB / 0.7589 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7117, allocations: 8 kB / 0.759 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003953/0.7121, allocations: 79.91 kB / 0.759 GB, free: 9.57 MB / 0.5762 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.001196/0.7133, allocations: 1.042 MB / 0.76 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004377/0.7137, allocations: 193.2 kB / 0.7602 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.7138, allocations: 0 / 0.7602 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001784/0.7139, allocations: 91.83 kB / 0.7603 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008471/0.7148, allocations: 163.2 kB / 0.7605 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003444/0.7183, allocations: 3.118 MB / 0.7635 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.7186, allocations: 0.792 MB / 0.7643 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002076/0.7188, allocations: 58.94 kB / 0.7644 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.7189, allocations: 91.41 kB / 0.7644 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/0.7189, allocations: 0 / 0.7644 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6088/1.328, allocations: 8.771 MB / 0.773 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000395/1.328, allocations: 226.8 kB / 0.7732 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.957/4.285, allocations: 0 / 0.7732 GB, free: 11.04 MB / 0.5919 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)