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.00148/0.00148, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001604/0.001604, allocations: 215 kB / 20.13 MB, free: 2.949 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.42/1.42, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.002305/0.002305, allocations: 283.8 kB / 309.8 MB, free: 3.5 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.003/1.003, allocations: 180.6 MB / 0.5338 GB, free: 12.39 MB / 398.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.Velocity,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity",fmuType="cs",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.002761/0.002761, allocations: 99.84 kB / 0.7347 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4953/0.498, allocations: 95.34 MB / 0.8278 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.1997/0.6978, allocations: 170.8 MB / 0.9946 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002991/0.7007, allocations: 1.566 MB / 0.9962 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003517/0.7011, allocations: 19.81 kB / 0.9962 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004804/0.7016, allocations: 146.9 kB / 0.9963 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001695/0.7033, allocations: 0.7468 MB / 0.9971 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.7049, allocations: 0.6093 MB / 0.9977 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0009508/0.7059, allocations: 0.7215 MB / 0.9984 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003381/0.7062, allocations: 195.9 kB / 0.9985 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006167/0.7068, allocations: 370.7 kB / 0.9989 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002943/0.7071, allocations: 242.9 kB / 0.9991 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.841e-05/0.7072, allocations: 24 kB / 0.9992 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/0.7087, allocations: 0.9234 MB / 1 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.7088, allocations: 115.7 kB / 1 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000196/0.709, allocations: 171.1 kB / 1 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.7102, allocations: 0.7398 MB / 1.001 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.7102, allocations: 0 / 1.001 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7102, allocations: 0 / 1.001 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.7102, allocations: 0 / 1.001 GB, free: 8.141 MB / 0.7325 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.001038/0.7112, allocations: 0.6749 MB / 1.002 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.7113, allocations: 8.031 kB / 1.002 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.591e-05/0.7113, allocations: 4.562 kB / 1.002 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.948e-05/0.7113, allocations: 62.55 kB / 1.002 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.7125, allocations: 159.6 kB / 1.002 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006125/0.7131, allocations: 326.8 kB / 1.002 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.048e-05/0.7132, allocations: 28.5 kB / 1.002 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.383e-05/0.7132, allocations: 20 kB / 1.002 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005116/0.7137, allocations: 281.8 kB / 1.003 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.7137, allocations: 0 / 1.003 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.7138, allocations: 11.98 kB / 1.003 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.7138, allocations: 8 kB / 1.003 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000425/0.7142, allocations: 204.9 kB / 1.003 GB, free: 6.262 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.001492/0.7157, allocations: 1.227 MB / 1.004 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.716, allocations: 138.4 kB / 1.004 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.7162, allocations: 96.73 kB / 1.004 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006226/0.7168, allocations: 303.2 kB / 1.004 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.7169, allocations: 38.56 kB / 1.005 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.7169, allocations: 0 / 1.005 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.0008499/0.7177, allocations: 307.5 kB / 1.005 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.7178, allocations: 51.41 kB / 1.005 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003405/0.7181, allocations: 320.5 kB / 1.005 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.7181, allocations: 25.7 kB / 1.005 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.7183, allocations: 192.3 kB / 1.005 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.708e-05/0.7183, allocations: 59.47 kB / 1.005 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.066e-05/0.7184, allocations: 49.7 kB / 1.005 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.7186, allocations: 342.8 kB / 1.006 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.7187, allocations: 71.94 kB / 1.006 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.719, allocations: 126.6 kB / 1.006 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003693/0.7193, allocations: 200 kB / 1.006 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.7193, allocations: 3.938 kB / 1.006 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004877/0.7198, allocations: 257.2 kB / 1.006 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.7198, allocations: 4 kB / 1.006 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.7198, allocations: 0 / 1.006 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.7199, allocations: 4 kB / 1.006 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.7201, allocations: 47.97 kB / 1.006 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.7201, allocations: 3.938 kB / 1.006 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.7203, allocations: 35.77 kB / 1.007 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.7203, allocations: 11.98 kB / 1.007 GB, free: 2.133 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.0001441/0.7204, allocations: 149.9 kB / 1.007 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.3e-05/0.7205, allocations: 31.81 kB / 1.007 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005129/0.721, allocations: 232.6 kB / 1.007 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.721, allocations: 0 / 1.007 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.721, allocations: 0 / 1.007 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.721, allocations: 7.984 kB / 1.007 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.7221, allocations: 0.7029 MB / 1.008 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/0.7221, allocations: 4.219 kB / 1.008 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.7223, allocations: 39.92 kB / 1.008 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.7223, allocations: 4 kB / 1.008 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.7223, allocations: 11.94 kB / 1.008 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/0.7223, allocations: 11.92 kB / 1.008 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.7223, allocations: 96 / 1.008 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006746/0.723, allocations: 451 kB / 1.008 GB, free: 388 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.7231, allocations: 129 kB / 1.008 GB, free: 240 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/0.7231, allocations: 12 kB / 1.008 GB, free: 228 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.7233, allocations: 15.97 kB / 1.008 GB, free: 212 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/0.7234, allocations: 15.98 kB / 1.008 GB, free: 196 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.7234, allocations: 8 kB / 1.008 GB, free: 188 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002452/0.7236, allocations: 227 kB / 1.009 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9e-08/0.7236, allocations: 0 / 1.009 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000397/0.724, allocations: 87.89 kB / 1.009 GB, free: 15.88 MB / 0.7481 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.001184/0.7252, allocations: 1.031 MB / 1.01 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004591/0.7257, allocations: 182.1 kB / 1.01 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7257, allocations: 0 / 1.01 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.7259, allocations: 87.83 kB / 1.01 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008856/0.7267, allocations: 165.2 kB / 1.01 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003826/0.7306, allocations: 3.004 MB / 1.013 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/0.731, allocations: 0.7795 MB / 1.014 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002221/0.7312, allocations: 66.92 kB / 1.014 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.7314, allocations: 91.41 kB / 1.014 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of SimCode: time 3.2e-07/0.7314, allocations: 3.938 kB / 1.014 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0288/0.7602, allocations: 9.083 MB / 1.023 GB, free: 1.387 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.351/9.112, allocations: 13.28 kB / 1.023 GB, free: 1.375 MB / 0.7481 GB " [Timeout remaining time 651] (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: 12.918105694989208] Failed to read output from testmodel.py, exit status != 0: 9.240846239030361 9.255900618 8.54266209 Calling exit ...