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.001416/0.001416, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001651/0.001651, allocations: 173.3 kB / 23.02 MB, free: 1.551 MB / 18.57 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.011/1.011, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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.002417/0.002417, allocations: 229.8 kB / 260.2 MB, free: 12.83 MB / 250.7 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 0.7084/0.7084, allocations: 138.4 MB / 455.2 MB, free: 1.574 MB / 362.7 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: translateModel(BuildingSystems.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity") translateModel(BuildingSystems.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.5551 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.782e-05, allocations: 6.25 kB / 0.5551 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.391/0.391, allocations: 146.6 MB / 0.6983 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001838/0.3928, allocations: 1.288 MB / 0.6995 GB, free: 9.062 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002678/0.3931, allocations: 15.88 kB / 0.6995 GB, free: 9.047 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0003362/0.3934, allocations: 87.27 kB / 0.6996 GB, free: 8.961 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0007971/0.3942, allocations: 401.7 kB / 0.7 GB, free: 8.566 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000823/0.395, allocations: 454.8 kB / 0.7004 GB, free: 8.121 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0006546/0.3957, allocations: 0.7214 MB / 0.7011 GB, free: 7.398 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003134/0.396, allocations: 189.5 kB / 0.7013 GB, free: 7.219 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000515/0.3965, allocations: 390.9 kB / 0.7017 GB, free: 6.836 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.3967, allocations: 203.4 kB / 0.7019 GB, free: 6.637 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.498e-05/0.3968, allocations: 23.94 kB / 0.7019 GB, free: 6.613 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004154/0.3972, allocations: 307.2 kB / 0.7022 GB, free: 6.312 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 8.972e-05/0.3973, allocations: 119.6 kB / 0.7023 GB, free: 6.195 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.3974, allocations: 127.7 kB / 0.7024 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0005897/0.398, allocations: 438.6 kB / 0.7029 GB, free: 5.641 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.398, allocations: 0 / 0.7029 GB, free: 5.641 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.733e-06/0.398, allocations: 3.938 kB / 0.7029 GB, free: 5.637 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.789e-06/0.398, allocations: 0 / 0.7029 GB, free: 5.637 MB / 0.5105 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.000745/0.3987, allocations: 0.6609 MB / 0.7035 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.3988, allocations: 8.75 kB / 0.7035 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006496/0.3994, allocations: 220.1 kB / 0.7037 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.3997, allocations: 272.4 kB / 0.704 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.3997, allocations: 20.44 kB / 0.704 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.3998, allocations: 28.69 kB / 0.704 GB, free: 4.379 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.4, allocations: 236 kB / 0.7043 GB, free: 4.121 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.4, allocations: 3.938 kB / 0.7043 GB, free: 4.117 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.4, allocations: 11.98 kB / 0.7043 GB, free: 4.105 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.4, allocations: 4 kB / 0.7043 GB, free: 4.102 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.4002, allocations: 94.12 kB / 0.7044 GB, free: 4.012 MB / 0.5105 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.0007786/0.4009, allocations: 1.146 MB / 0.7055 GB, free: 2.805 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.4011, allocations: 98.78 kB / 0.7056 GB, free: 2.699 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.284e-05/0.4012, allocations: 39.66 kB / 0.7056 GB, free: 2.656 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002022/0.4014, allocations: 50.77 kB / 0.7057 GB, free: 2.609 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.452e-05/0.4014, allocations: 33.39 kB / 0.7057 GB, free: 2.566 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=17): time 2.205e-06/0.4014, allocations: 4 kB / 0.7057 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of matching and sorting (n=17): time 0.0003482/0.4017, allocations: 181.5 kB / 0.7059 GB, free: 2.383 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.019e-05/0.4018, allocations: 51.41 kB / 0.7059 GB, free: 2.32 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.4019, allocations: 306.3 kB / 0.7062 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.4019, allocations: 29.7 kB / 0.7063 GB, free: 1.973 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.316e-05/0.402, allocations: 231 kB / 0.7065 GB, free: 1.742 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.402, allocations: 71.42 kB / 0.7065 GB, free: 1.672 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-05/0.4021, allocations: 51.36 kB / 0.7066 GB, free: 1.613 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.503e-05/0.4021, allocations: 0.5079 MB / 0.7071 GB, free: 1.094 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.591e-05/0.4022, allocations: 23.98 kB / 0.7071 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.107e-05/0.4023, allocations: 179.5 kB / 0.7073 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.4024, allocations: 127.5 kB / 0.7074 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.4024, allocations: 0 / 0.7074 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001903/0.4026, allocations: 174 kB / 0.7076 GB, free: 0.5312 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.4026, allocations: 8 kB / 0.7076 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4026, allocations: 0 / 0.7076 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.4026, allocations: 4.094 kB / 0.7076 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.4027, allocations: 43.92 kB / 0.7076 GB, free: 488 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.4028, allocations: 4 kB / 0.7076 GB, free: 484 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.103e-05/0.4028, allocations: 23.83 kB / 0.7076 GB, free: 460 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.4029, allocations: 12 kB / 0.7077 GB, free: 448 kB / 0.5105 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 7.647e-05/0.4029, allocations: 168.5 kB / 0.7078 GB, free: 268 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.12e-05/0.403, allocations: 31.8 kB / 0.7078 GB, free: 236 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001941/0.4032, allocations: 146.5 kB / 0.708 GB, free: 84 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.4032, allocations: 4 kB / 0.708 GB, free: 80 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4032, allocations: 0 / 0.708 GB, free: 80 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4032, allocations: 4 kB / 0.708 GB, free: 76 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005954/0.4038, allocations: 0.5818 MB / 0.7086 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.4038, allocations: 4 kB / 0.7086 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.897e-05/0.4039, allocations: 31.92 kB / 0.7086 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.4039, allocations: 5.141 kB / 0.7086 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.4039, allocations: 8.219 kB / 0.7086 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.4039, allocations: 4 kB / 0.7086 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.4039, allocations: 4 kB / 0.7086 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003321/0.4042, allocations: 382.2 kB / 0.709 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.81e-05/0.4043, allocations: 43.72 kB / 0.709 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.4043, allocations: 8 kB / 0.709 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.989e-05/0.4044, allocations: 8.609 kB / 0.709 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.4044, allocations: 19.92 kB / 0.7091 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.4044, allocations: 4 kB / 0.7091 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001155/0.4046, allocations: 210.9 kB / 0.7093 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.4046, allocations: 4.031 kB / 0.7093 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003216/0.4049, allocations: 91.84 kB / 0.7094 GB, free: 14.57 MB / 0.5261 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.0002424/0.4051, allocations: 131.1 kB / 0.7095 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002165/0.4053, allocations: 107.5 kB / 0.7096 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.4053, allocations: 0 / 0.7096 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.534e-05/0.4054, allocations: 61.81 kB / 0.7096 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004801/0.4059, allocations: 127.2 kB / 0.7098 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.4071, allocations: 0.5908 MB / 0.7103 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.81e-05/0.4071, allocations: 106.4 kB / 0.7104 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000134/0.4073, allocations: 46.25 kB / 0.7105 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.652e-05/0.4073, allocations: 24.5 kB / 0.7105 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of SimCode: time 1.562e-06/0.4073, allocations: 0 / 0.7105 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of Templates: time 0.008034/0.4154, allocations: 5.059 MB / 0.7154 GB, free: 8.43 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.2599925003014505]