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.001618/0.001618, allocations: 110.1 kB / 19.7 MB, free: 2.266 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.001927/0.001927, allocations: 221.1 kB / 23.01 MB, free: 5.109 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.369/1.369, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.002479/0.002479, allocations: 291.3 kB / 313.5 MB, free: 2.906 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.181/1.181, allocations: 180.6 MB / 0.5377 GB, free: 12.98 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: 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: 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.002758/0.002758, allocations: 101.7 kB / 0.7408 GB, free: 27.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1761, allocations: 95.39 MB / 0.834 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.6321/0.8082, allocations: 171 MB / 1.001 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002506/0.8107, allocations: 1.574 MB / 1.003 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000367/0.8111, allocations: 21.19 kB / 1.003 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004836/0.8116, allocations: 147.6 kB / 1.003 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001839/0.8134, allocations: 0.7482 MB / 1.003 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.815, allocations: 0.6282 MB / 1.004 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009806/0.816, allocations: 0.7375 MB / 1.005 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003514/0.8164, allocations: 189 kB / 1.005 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000673/0.817, allocations: 367.2 kB / 1.005 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003229/0.8174, allocations: 249.9 kB / 1.006 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.204e-05/0.8174, allocations: 23.91 kB / 1.006 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001737/0.8191, allocations: 0.9433 MB / 1.006 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001482/0.8193, allocations: 112.7 kB / 1.007 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002238/0.8195, allocations: 173.4 kB / 1.007 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.8208, allocations: 0.7421 MB / 1.007 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.8208, allocations: 4.422 kB / 1.007 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8208, allocations: 0 / 1.007 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.8208, allocations: 1.438 kB / 1.007 GB, free: 3.57 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.00112/0.8219, allocations: 0.5995 MB / 1.008 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.822, allocations: 11.91 kB / 1.008 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.8231, allocations: 158.5 kB / 1.008 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005643/0.8237, allocations: 266.5 kB / 1.008 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.8237, allocations: 18.09 kB / 1.008 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.386e-05/0.8238, allocations: 26.19 kB / 1.009 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005046/0.8243, allocations: 282.2 kB / 1.009 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.8243, allocations: 0.5312 kB / 1.009 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.8243, allocations: 10 kB / 1.009 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.8243, allocations: 5.938 kB / 1.009 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004504/0.8248, allocations: 202.4 kB / 1.009 GB, free: 18.89 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.001478/0.8263, allocations: 1.189 MB / 1.01 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.8265, allocations: 146.2 kB / 1.01 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.8267, allocations: 86.81 kB / 1.01 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004883/0.8272, allocations: 73.05 kB / 1.01 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.8272, allocations: 37.56 kB / 1.01 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 1.903e-06/0.8272, allocations: 1 kB / 1.01 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.0007748/0.828, allocations: 299.6 kB / 1.011 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.828, allocations: 52.62 kB / 1.011 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/0.8283, allocations: 323.4 kB / 1.011 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.8283, allocations: 32.2 kB / 1.011 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.8285, allocations: 184.7 kB / 1.011 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.8285, allocations: 61.8 kB / 1.011 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.698e-05/0.8286, allocations: 44.38 kB / 1.011 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.8287, allocations: 341.7 kB / 1.012 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.8289, allocations: 69.2 kB / 1.012 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.829, allocations: 130.9 kB / 1.012 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003017/0.8293, allocations: 199.4 kB / 1.012 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.8293, allocations: 1.844 kB / 1.012 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004267/0.8298, allocations: 262 kB / 1.012 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.8298, allocations: 6.656 kB / 1.012 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.8298, allocations: 1.25 kB / 1.012 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.8298, allocations: 3.281 kB / 1.012 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.83, allocations: 45.89 kB / 1.012 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.83, allocations: 4.484 kB / 1.012 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.8302, allocations: 33.02 kB / 1.012 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.8302, allocations: 11.62 kB / 1.012 GB, free: 17.12 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.0001379/0.8304, allocations: 157 kB / 1.013 GB, free: 17 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/0.8304, allocations: 35.25 kB / 1.013 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004169/0.8308, allocations: 231.6 kB / 1.013 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.8308, allocations: 2.25 kB / 1.013 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.8308, allocations: 1.188 kB / 1.013 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.8308, allocations: 0.8125 kB / 1.013 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009378/0.8318, allocations: 0.6876 MB / 1.014 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.8318, allocations: 2.844 kB / 1.014 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.8319, allocations: 35.64 kB / 1.014 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.8319, allocations: 2.594 kB / 1.014 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.8319, allocations: 8.031 kB / 1.014 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.832, allocations: 6.562 kB / 1.014 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.832, allocations: 4.531 kB / 1.014 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005697/0.8325, allocations: 449.2 kB / 1.014 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.586e-05/0.8326, allocations: 52 kB / 1.014 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.262e-05/0.8327, allocations: 5.906 kB / 1.014 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.8328, allocations: 15.28 kB / 1.014 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.8329, allocations: 24.38 kB / 1.014 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.8329, allocations: 5.188 kB / 1.014 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000205/0.8331, allocations: 232.6 kB / 1.014 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.8331, allocations: 0 / 1.014 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003902/0.8335, allocations: 88.12 kB / 1.014 GB, free: 16.3 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.0002591/0.8337, allocations: 148.1 kB / 1.015 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000381/0.8341, allocations: 174.9 kB / 1.015 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.8341, allocations: 2.188 kB / 1.015 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.8343, allocations: 87.64 kB / 1.015 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008189/0.8351, allocations: 178.6 kB / 1.015 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009425/0.8361, allocations: 0.6694 MB / 1.016 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.8364, allocations: 0.7801 MB / 1.016 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.126e-05/0.8365, allocations: 29.38 kB / 1.016 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of SimCode: time 3.31e-07/0.8365, allocations: 0 / 1.016 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of Templates: time 0.006749/0.8433, allocations: 4.972 MB / 1.021 GB, free: 14.8 MB / 0.7325 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.746271192096174] Failed to read output from testmodel.py, exit status != 0: 0.8498911000788212 0.860259921 0.037072385 Calling exit ...