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.0007136/0.0007136, allocations: 77.11 kB / 9.98 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001053/0.001767, allocations: 448 kB / 10.42 MB, free: 276 kB / 10.45 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.001148/0.001148, allocations: 161.2 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001536/0.002684, allocations: 475.5 kB / 11.8 MB, free: 2.371 MB / 13.93 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.019/1.019, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1134/1.133, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001334/0.001334, allocations: 242.4 kB / 244.4 MB, free: 14.52 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00125/0.002585, allocations: 467.7 kB / 244.8 MB, free: 14.06 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6951/0.6951, allocations: 138.7 MB / 384.3 MB, free: 368 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07571/0.7708, allocations: 42.4 MB / 426.7 MB, free: 5.836 MB / 410.7 MB " [Timeout remaining time 179] 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.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.593e-06/1.593e-06, allocations: 0 / 428.1 MB, free: 4.477 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.252e-05/2.412e-05, allocations: 2.312 kB / 428.1 MB, free: 4.473 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.3313/0.3313, allocations: 146.4 MB / 0.561 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.002013/0.3333, allocations: 1.312 MB / 0.5623 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002279/0.3335, allocations: 15.88 kB / 0.5623 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0002454/0.3338, allocations: 83.28 kB / 0.5624 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.000735/0.3345, allocations: 401.7 kB / 0.5628 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007816/0.3353, allocations: 456 kB / 0.5632 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0006557/0.336, allocations: 0.7176 MB / 0.5639 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002933/0.3362, allocations: 190.1 kB / 0.5641 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005862/0.3368, allocations: 402.8 kB / 0.5645 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002203/0.3371, allocations: 197.1 kB / 0.5647 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 3.569e-05/0.3371, allocations: 24 kB / 0.5647 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004693/0.3376, allocations: 319.1 kB / 0.565 GB, free: 9.934 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 8.786e-05/0.3376, allocations: 95.7 kB / 0.5651 GB, free: 9.84 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 8.242e-05/0.3377, allocations: 99.81 kB / 0.5652 GB, free: 9.742 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0006315/0.3384, allocations: 390.7 kB / 0.5656 GB, free: 9.359 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.317e-05/0.3384, allocations: 0 / 0.5656 GB, free: 9.359 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3384, allocations: 0 / 0.5656 GB, free: 9.359 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.3384, allocations: 0 / 0.5656 GB, free: 9.359 MB / 0.5417 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.0006525/0.339, allocations: 0.6213 MB / 0.5662 GB, free: 8.719 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.3391, allocations: 12.69 kB / 0.5662 GB, free: 8.707 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007266/0.3398, allocations: 294.1 kB / 0.5665 GB, free: 8.402 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.3401, allocations: 260.7 kB / 0.5667 GB, free: 8.125 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.3401, allocations: 20.44 kB / 0.5667 GB, free: 8.105 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.3401, allocations: 24 kB / 0.5668 GB, free: 8.082 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/0.3404, allocations: 212.6 kB / 0.567 GB, free: 7.852 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3404, allocations: 0 / 0.567 GB, free: 7.852 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.3404, allocations: 15.94 kB / 0.567 GB, free: 7.836 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.3404, allocations: 4 kB / 0.567 GB, free: 7.832 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.582e-05/0.3405, allocations: 73.5 kB / 0.567 GB, free: 7.758 MB / 0.5417 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.0007269/0.3412, allocations: 0.791 MB / 0.5678 GB, free: 6.934 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.3414, allocations: 123 kB / 0.5679 GB, free: 6.805 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.515e-05/0.3414, allocations: 32.3 kB / 0.568 GB, free: 6.77 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001726/0.3416, allocations: 58.06 kB / 0.568 GB, free: 6.715 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.3416, allocations: 38.5 kB / 0.5681 GB, free: 6.668 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=17): time 1.453e-06/0.3416, allocations: 0 / 0.5681 GB, free: 6.668 MB / 0.5417 GB Notification: Performance of matching and sorting (n=17): time 0.0002593/0.3418, allocations: 126.9 kB / 0.5682 GB, free: 6.543 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.3419, allocations: 55.41 kB / 0.5682 GB, free: 6.477 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.342, allocations: 243 kB / 0.5685 GB, free: 6.234 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.342, allocations: 29.7 kB / 0.5685 GB, free: 6.199 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.629e-05/0.3421, allocations: 164.7 kB / 0.5687 GB, free: 6.035 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.3421, allocations: 59.47 kB / 0.5687 GB, free: 5.977 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.438e-05/0.3422, allocations: 53.64 kB / 0.5688 GB, free: 5.918 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.505e-05/0.3423, allocations: 342.8 kB / 0.5691 GB, free: 5.574 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.35e-05/0.3423, allocations: 25.45 kB / 0.5691 GB, free: 5.551 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.749e-05/0.3424, allocations: 138.9 kB / 0.5692 GB, free: 5.379 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.3425, allocations: 111.2 kB / 0.5693 GB, free: 5.25 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.3425, allocations: 4 kB / 0.5694 GB, free: 5.246 MB / 0.5417 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001419/0.3426, allocations: 141.3 kB / 0.5695 GB, free: 5.102 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.3426, allocations: 4 kB / 0.5695 GB, free: 5.098 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3426, allocations: 0 / 0.5695 GB, free: 5.098 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3426, allocations: 4.688 kB / 0.5695 GB, free: 5.094 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.3428, allocations: 51.92 kB / 0.5695 GB, free: 5.043 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.3428, allocations: 3.938 kB / 0.5695 GB, free: 5.039 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.55e-05/0.3428, allocations: 19.88 kB / 0.5696 GB, free: 5.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.3429, allocations: 8 kB / 0.5696 GB, free: 5.012 MB / 0.5417 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.461e-05/0.3429, allocations: 124.6 kB / 0.5697 GB, free: 4.879 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.343, allocations: 30.2 kB / 0.5697 GB, free: 4.852 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.3431, allocations: 120.8 kB / 0.5698 GB, free: 4.73 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3431, allocations: 0 / 0.5698 GB, free: 4.73 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.3431, allocations: 4 kB / 0.5698 GB, free: 4.727 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3431, allocations: 1.828 kB / 0.5698 GB, free: 4.727 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004158/0.3435, allocations: 0.5037 MB / 0.5703 GB, free: 4.168 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3435, allocations: 4.219 kB / 0.5703 GB, free: 4.164 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.001e-05/0.3436, allocations: 35.98 kB / 0.5704 GB, free: 4.129 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.3437, allocations: 31.8 kB / 0.5704 GB, free: 4.098 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.3437, allocations: 0 / 0.5704 GB, free: 4.098 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.3437, allocations: 10.62 kB / 0.5704 GB, free: 4.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.3437, allocations: 7.938 kB / 0.5704 GB, free: 4.082 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3437, allocations: 0 / 0.5704 GB, free: 4.082 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.3439, allocations: 330 kB / 0.5707 GB, free: 3.715 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.3439, allocations: 11.98 kB / 0.5707 GB, free: 3.703 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.07e-05/0.344, allocations: 4 kB / 0.5708 GB, free: 3.699 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.344, allocations: 19.95 kB / 0.5708 GB, free: 3.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.344, allocations: 8 kB / 0.5708 GB, free: 3.672 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.712e-05/0.3441, allocations: 84.62 kB / 0.5709 GB, free: 3.59 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.3441, allocations: 4 kB / 0.5709 GB, free: 3.586 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002287/0.3443, allocations: 91.81 kB / 0.571 GB, free: 3.496 MB / 0.5417 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.0001893/0.3445, allocations: 112.3 kB / 0.5711 GB, free: 3.375 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001555/0.3447, allocations: 89.67 kB / 0.5711 GB, free: 3.285 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/0.3447, allocations: 4.5 kB / 0.5711 GB, free: 3.281 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.36e-05/0.3448, allocations: 56.72 kB / 0.5712 GB, free: 3.223 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006042/0.3454, allocations: 0.8328 MB / 0.572 GB, free: 2.246 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/0.3483, allocations: 0.5781 MB / 0.5726 GB, free: 1.617 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.522e-05/0.3483, allocations: 96.28 kB / 0.5727 GB, free: 1.504 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001253/0.3485, allocations: 37.31 kB / 0.5727 GB, free: 1.473 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/0.3487, allocations: 133.3 kB / 0.5728 GB, free: 1.34 MB / 0.5417 GB Notification: Performance of SimCode: time 1.333e-06/0.3487, allocations: 0 / 0.5728 GB, free: 1.34 MB / 0.5417 GB Notification: Performance of Templates: time 0.008042/0.3567, allocations: 5.431 MB / 0.5781 GB, free: 12.2 MB / 0.5574 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: 3.8557865153998137]