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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 217 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.367/1.367, allocations: 230.6 MB / 256 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002406/0.002406, allocations: 279 kB / 312.7 MB, free: 2.934 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.172/1.172, allocations: 180.6 MB / 0.5369 GB, free: 13.08 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002882/0.002882, allocations: 98.58 kB / 0.7396 GB, free: 28.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1625, allocations: 95.38 MB / 0.8327 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.5721/0.7346, allocations: 171 MB / 0.9998 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002674/0.7373, allocations: 1.569 MB / 1.001 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005922/0.7378, allocations: 17.66 kB / 1.001 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005868/0.7384, allocations: 155.5 kB / 1.001 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002028/0.7405, allocations: 0.7507 MB / 1.002 GB, free: 3 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001773/0.7422, allocations: 0.6267 MB / 1.003 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001118/0.7434, allocations: 0.73 MB / 1.004 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004351/0.7438, allocations: 194.7 kB / 1.004 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009451/0.7447, allocations: 367.2 kB / 1.004 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000451/0.7452, allocations: 248.5 kB / 1.004 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.755e-05/0.7452, allocations: 24.84 kB / 1.004 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00211/0.7473, allocations: 0.9425 MB / 1.005 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.7475, allocations: 112.2 kB / 1.005 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002795/0.7478, allocations: 173.3 kB / 1.006 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001658/0.7495, allocations: 0.7404 MB / 1.006 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7495, allocations: 3.938 kB / 1.006 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7495, allocations: 1.344 kB / 1.006 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.7495, allocations: 0 / 1.006 GB, free: 2.914 MB / 0.7169 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.001204/0.7507, allocations: 0.5991 MB / 1.007 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.7507, allocations: 10.81 kB / 1.007 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.345e-05/0.7508, allocations: 56.62 kB / 1.007 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.752, allocations: 156.9 kB / 1.007 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006063/0.7526, allocations: 263.2 kB / 1.007 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.7527, allocations: 18.59 kB / 1.007 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.239e-05/0.7527, allocations: 24.05 kB / 1.007 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005787/0.7533, allocations: 288.5 kB / 1.008 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.7533, allocations: 1 kB / 1.008 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.7533, allocations: 11.89 kB / 1.008 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.7533, allocations: 6.531 kB / 1.008 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000456/0.7538, allocations: 204.3 kB / 1.008 GB, free: 18.2 MB / 0.7325 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.001434/0.7552, allocations: 1.181 MB / 1.009 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/0.7555, allocations: 142.8 kB / 1.009 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.7556, allocations: 97.02 kB / 1.009 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004608/0.7561, allocations: 76.2 kB / 1.009 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.7561, allocations: 33.81 kB / 1.009 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 1.613e-06/0.7561, allocations: 0 / 1.009 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.0007433/0.7569, allocations: 303.6 kB / 1.01 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.7569, allocations: 53.5 kB / 1.01 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/0.7572, allocations: 321.9 kB / 1.01 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.7573, allocations: 33.59 kB / 1.01 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.7574, allocations: 182.6 kB / 1.01 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.7574, allocations: 61.67 kB / 1.01 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.567e-05/0.7575, allocations: 48.2 kB / 1.01 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.7576, allocations: 338.4 kB / 1.011 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.7578, allocations: 72.17 kB / 1.011 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.758, allocations: 134.3 kB / 1.011 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.7583, allocations: 203 kB / 1.011 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.7583, allocations: 0 / 1.011 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004399/0.7587, allocations: 255.6 kB / 1.011 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.7587, allocations: 6.531 kB / 1.011 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.7587, allocations: 2.094 kB / 1.011 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.7588, allocations: 2.438 kB / 1.011 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.759, allocations: 44.25 kB / 1.011 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.759, allocations: 2.188 kB / 1.011 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.7592, allocations: 37.81 kB / 1.011 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.7592, allocations: 15.23 kB / 1.011 GB, free: 16.43 MB / 0.7325 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.000155/0.7594, allocations: 151.1 kB / 1.011 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.11e-05/0.7594, allocations: 38.94 kB / 1.012 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000436/0.7599, allocations: 235.2 kB / 1.012 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.7599, allocations: 1.156 kB / 1.012 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.7599, allocations: 2.188 kB / 1.012 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.7599, allocations: 144 / 1.012 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009731/0.7608, allocations: 0.6754 MB / 1.012 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.7608, allocations: 2.844 kB / 1.012 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.761, allocations: 43.42 kB / 1.012 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.761, allocations: 3.094 kB / 1.012 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.761, allocations: 5.25 kB / 1.012 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.761, allocations: 6.156 kB / 1.012 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.7611, allocations: 6.156 kB / 1.012 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005951/0.7616, allocations: 451.4 kB / 1.013 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.7618, allocations: 48.97 kB / 1.013 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.354e-05/0.7618, allocations: 5.609 kB / 1.013 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.762, allocations: 12.56 kB / 1.013 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.762, allocations: 20.16 kB / 1.013 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.762, allocations: 10.55 kB / 1.013 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002062/0.7622, allocations: 232.2 kB / 1.013 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7622, allocations: 0 / 1.013 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004275/0.7627, allocations: 83.61 kB / 1.013 GB, free: 15.61 MB / 0.7325 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.001032/0.7637, allocations: 1.029 MB / 1.014 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004076/0.7641, allocations: 174.4 kB / 1.014 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7641, allocations: 2.062 kB / 1.014 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.7643, allocations: 91.42 kB / 1.015 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008516/0.7651, allocations: 171.7 kB / 1.015 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003359/0.7685, allocations: 3.001 MB / 1.018 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.7689, allocations: 0.7836 MB / 1.018 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002107/0.7691, allocations: 70.23 kB / 1.018 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.7692, allocations: 93.02 kB / 1.019 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of SimCode: time 6.21e-07/0.7692, allocations: 3.938 kB / 1.019 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03942/0.8086, allocations: 9.279 MB / 1.028 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.9, allocations: 1.406 kB / 1.028 GB, free: 11.83 MB / 0.7325 GB " [Timeout remaining time 648] (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 --stepSize=0.024 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.826031905133277] Failed to read output from testmodel.py, exit status != 0: 12.01164681604132 12.031342733 11.278516439 Calling exit ...