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.00115/0.00115, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001218/0.001218, allocations: 198.6 kB / 16.14 MB, free: 6.66 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.205/1.205, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8503/0.8503, allocations: 135.1 MB / 425.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.91 kB / 0.5048 GB, free: 5.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1554, allocations: 80.92 MB / 0.5838 GB, free: 4.895 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.3632/0.5187, allocations: 165.1 MB / 0.7451 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0028/0.5215, allocations: 1.572 MB / 0.7466 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005224/0.5221, allocations: 9.875 kB / 0.7466 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005327/0.5226, allocations: 116.4 kB / 0.7467 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001764/0.5244, allocations: 0.676 MB / 0.7474 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.5259, allocations: 0.5502 MB / 0.7479 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001023/0.527, allocations: 0.9869 MB / 0.7489 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003844/0.5274, allocations: 211.3 kB / 0.7491 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006564/0.528, allocations: 315.2 kB / 0.7494 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003186/0.5283, allocations: 233.5 kB / 0.7496 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.318e-05/0.5284, allocations: 21.5 kB / 0.7496 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.5299, allocations: 1.012 MB / 0.7506 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.5301, allocations: 102.2 kB / 0.7507 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000228/0.5303, allocations: 160.3 kB / 0.7509 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.5315, allocations: 0.7745 MB / 0.7516 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.5315, allocations: 0 / 0.7516 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.52e-07/0.5315, allocations: 0 / 0.7516 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.5315, allocations: 0 / 0.7516 GB, free: 0.9648 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.0009557/0.5325, allocations: 0.6705 MB / 0.7523 GB, free: 380 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.5325, allocations: 7.75 kB / 0.7523 GB, free: 380 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.66e-05/0.5326, allocations: 58.48 kB / 0.7524 GB, free: 320 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/0.5337, allocations: 152.5 kB / 0.7525 GB, free: 248 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004005/0.5341, allocations: 316.7 kB / 0.7528 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.5342, allocations: 23.34 kB / 0.7528 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.539e-05/0.5342, allocations: 19.72 kB / 0.7528 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004481/0.5347, allocations: 289.2 kB / 0.7531 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.5347, allocations: 0 / 0.7531 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.5347, allocations: 6.656 kB / 0.7531 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.5347, allocations: 5.344 kB / 0.7531 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003876/0.5351, allocations: 203 kB / 0.7533 GB, free: 15.64 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.001344/0.5365, allocations: 1.233 MB / 0.7545 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.5368, allocations: 142.5 kB / 0.7547 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.5369, allocations: 96.8 kB / 0.7548 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005996/0.5375, allocations: 311.2 kB / 0.7551 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.5376, allocations: 34.5 kB / 0.7551 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 1.302e-06/0.5376, allocations: 0 / 0.7551 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.0007778/0.5384, allocations: 303.8 kB / 0.7554 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.5384, allocations: 55.41 kB / 0.7554 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002926/0.5387, allocations: 316.5 kB / 0.7557 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.5387, allocations: 29.7 kB / 0.7558 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.5389, allocations: 180.2 kB / 0.7559 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.828e-05/0.5389, allocations: 59.11 kB / 0.756 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.192e-05/0.539, allocations: 49.7 kB / 0.756 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.5391, allocations: 346.7 kB / 0.7564 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.5393, allocations: 67.95 kB / 0.7564 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.5395, allocations: 128.4 kB / 0.7566 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/0.5399, allocations: 195.3 kB / 0.7567 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5399, allocations: 7.875 kB / 0.7567 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005004/0.5404, allocations: 257.1 kB / 0.757 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.5404, allocations: 4 kB / 0.757 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.5404, allocations: 4 kB / 0.757 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.5404, allocations: 0 / 0.757 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.5406, allocations: 51.78 kB / 0.757 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.5407, allocations: 7.938 kB / 0.7571 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.5409, allocations: 39.77 kB / 0.7571 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.5409, allocations: 8 kB / 0.7571 GB, free: 11.6 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.0001364/0.541, allocations: 149.8 kB / 0.7572 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.507e-05/0.5411, allocations: 31.62 kB / 0.7573 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004568/0.5416, allocations: 232.6 kB / 0.7575 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5416, allocations: 0 / 0.7575 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.5416, allocations: 0 / 0.7575 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.5416, allocations: 8 kB / 0.7575 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009744/0.5426, allocations: 0.6991 MB / 0.7582 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.5426, allocations: 7.984 kB / 0.7582 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.5428, allocations: 31.98 kB / 0.7582 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.5428, allocations: 4 kB / 0.7582 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.5428, allocations: 7.938 kB / 0.7582 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.5428, allocations: 7.938 kB / 0.7582 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.5428, allocations: 0 / 0.7582 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006241/0.5435, allocations: 459.2 kB / 0.7587 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.5436, allocations: 124.7 kB / 0.7588 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.5436, allocations: 7.938 kB / 0.7588 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.5438, allocations: 19.92 kB / 0.7588 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.5439, allocations: 11.98 kB / 0.7588 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.5439, allocations: 8 kB / 0.7588 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002237/0.5441, allocations: 235.1 kB / 0.7591 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5441, allocations: 0 / 0.7591 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003713/0.5445, allocations: 87.89 kB / 0.7592 GB, free: 9.352 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.001137/0.5457, allocations: 1.052 MB / 0.7602 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004026/0.5461, allocations: 182.6 kB / 0.7604 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.5461, allocations: 0 / 0.7604 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.5463, allocations: 92.33 kB / 0.7604 GB, free: 8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008335/0.5471, allocations: 159.3 kB / 0.7606 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003553/0.5507, allocations: 3.11 MB / 0.7636 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.551, allocations: 0.7807 MB / 0.7644 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002228/0.5512, allocations: 65.11 kB / 0.7645 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.5514, allocations: 91.41 kB / 0.7645 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of SimCode: time 3.8e-07/0.5514, allocations: 0 / 0.7645 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4374/0.9888, allocations: 8.54 MB / 0.7729 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001681/0.989, allocations: 219.5 kB / 0.7731 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.981/2.97, allocations: 4.062 kB / 0.7731 GB, free: 11.05 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)