Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.Velocity,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.Velocity,fileNamePrefix="BuildingSystems_BuildingSystems_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.0007787/0.0007787, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004864/0.004864, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.238/1.238, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001624/0.001624, allocations: 274.3 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8577/0.8577, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003658, allocations: 17.39 kB / 0.5988 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1284, allocations: 88.54 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.3973/0.5258, allocations: 163 MB / 0.8444 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00219/0.528, allocations: 1.557 MB / 0.8459 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.5282, allocations: 8.75 kB / 0.8459 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000336/0.5285, allocations: 118.7 kB / 0.846 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.5298, allocations: 0.6746 MB / 0.8467 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.5309, allocations: 0.5541 MB / 0.8472 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007674/0.5317, allocations: 0.9894 MB / 0.8482 GB, free: 316 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002708/0.532, allocations: 190.3 kB / 0.8484 GB, free: 204 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004605/0.5324, allocations: 308.2 kB / 0.8487 GB, free: 40 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002517/0.5327, allocations: 241 kB / 0.8489 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.5327, allocations: 13.78 kB / 0.8489 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001192/0.5339, allocations: 1.01 MB / 0.8499 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.534, allocations: 99.27 kB / 0.85 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.5342, allocations: 196.3 kB / 0.8502 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007845/0.535, allocations: 0.7689 MB / 0.8509 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.535, allocations: 0 / 0.8509 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/0.535, allocations: 0 / 0.8509 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.535, allocations: 0 / 0.8509 GB, free: 14.65 MB / 0.5762 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.0007332/0.5357, allocations: 0.6101 MB / 0.8515 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.5358, allocations: 12.16 kB / 0.8516 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.27e-05/0.5358, allocations: 59.33 kB / 0.8516 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.5369, allocations: 153.3 kB / 0.8518 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000332/0.5372, allocations: 316 kB / 0.8521 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.5372, allocations: 17.44 kB / 0.8521 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.21e-05/0.5373, allocations: 27.91 kB / 0.8521 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004284/0.5377, allocations: 291.9 kB / 0.8524 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.5377, allocations: 0 / 0.8524 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.5378, allocations: 7.062 kB / 0.8524 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.5378, allocations: 5.75 kB / 0.8524 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003935/0.5382, allocations: 216.7 kB / 0.8526 GB, free: 13.36 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.001177/0.5393, allocations: 1.235 MB / 0.8538 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.5396, allocations: 152.8 kB / 0.8539 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.5398, allocations: 99.92 kB / 0.854 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005285/0.5403, allocations: 318.7 kB / 0.8543 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.5404, allocations: 41.19 kB / 0.8544 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 1.202e-06/0.5404, allocations: 0 / 0.8544 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.0006945/0.5411, allocations: 313.2 kB / 0.8547 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.5411, allocations: 51.41 kB / 0.8547 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/0.5414, allocations: 321.5 kB / 0.855 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.5414, allocations: 25.7 kB / 0.8551 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.5415, allocations: 184.7 kB / 0.8552 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.419e-05/0.5416, allocations: 59.27 kB / 0.8553 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.49e-05/0.5416, allocations: 23.45 kB / 0.8553 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.5417, allocations: 338.8 kB / 0.8556 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.5419, allocations: 80.59 kB / 0.8557 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.5421, allocations: 135.3 kB / 0.8559 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000336/0.5424, allocations: 216.7 kB / 0.8561 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.5425, allocations: 3.938 kB / 0.8561 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004345/0.5429, allocations: 270.4 kB / 0.8563 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.5429, allocations: 5.156 kB / 0.8563 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.5429, allocations: 96 / 0.8563 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.5429, allocations: 10.84 kB / 0.8563 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.5431, allocations: 50.72 kB / 0.8564 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.5432, allocations: 6.453 kB / 0.8564 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.5434, allocations: 37.83 kB / 0.8564 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.5434, allocations: 8.031 kB / 0.8564 GB, free: 10.25 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.0001254/0.5435, allocations: 157 kB / 0.8566 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.378e-05/0.5436, allocations: 29.66 kB / 0.8566 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004403/0.544, allocations: 243.8 kB / 0.8568 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.544, allocations: 2.875 kB / 0.8568 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5441, allocations: 5.938 kB / 0.8569 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.5441, allocations: 0 / 0.8569 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009091/0.545, allocations: 0.7162 MB / 0.8576 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.545, allocations: 2.906 kB / 0.8576 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.5451, allocations: 35.5 kB / 0.8576 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.5452, allocations: 2.125 kB / 0.8576 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.5452, allocations: 10.09 kB / 0.8576 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.5452, allocations: 11.22 kB / 0.8576 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5452, allocations: 0 / 0.8576 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005991/0.5458, allocations: 469.8 kB / 0.8581 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.929e-05/0.5459, allocations: 117.8 kB / 0.8582 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.988e-05/0.546, allocations: 10.67 kB / 0.8582 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.5461, allocations: 21.92 kB / 0.8582 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.5462, allocations: 13.52 kB / 0.8582 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.5462, allocations: 6.156 kB / 0.8582 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001879/0.5464, allocations: 235 kB / 0.8584 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5464, allocations: 0 / 0.8584 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003362/0.5468, allocations: 83.91 kB / 0.8585 GB, free: 8.684 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.001042/0.5478, allocations: 1.067 MB / 0.8596 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003811/0.5482, allocations: 192.2 kB / 0.8597 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5482, allocations: 7.938 kB / 0.8598 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.5484, allocations: 102 kB / 0.8599 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008979/0.5493, allocations: 157.6 kB / 0.86 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/0.5525, allocations: 3.179 MB / 0.8631 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.5528, allocations: 0.786 MB / 0.8639 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000196/0.553, allocations: 62.45 kB / 0.8639 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.5531, allocations: 94.41 kB / 0.864 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.5531, allocations: 0 / 0.864 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.602/4.155, allocations: 8.425 MB / 0.8723 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001987/4.155, allocations: 242.6 kB / 0.8725 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.082/6.237, allocations: 0 / 0.8725 GB, free: 15.59 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe 2>&1)