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.001228/0.001228, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001851/0.003078, allocations: 435.8 kB / 10.33 MB, free: 368 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.001237/0.001237, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001603/0.00284, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.048/1.048, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09618/1.144, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.001311/0.001311, allocations: 235.9 kB / 244.2 MB, free: 14.65 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001163/0.002473, allocations: 470.9 kB / 244.6 MB, free: 14.19 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.7003/0.7003, allocations: 138.7 MB / 384.1 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07547/0.7757, allocations: 42.4 MB / 426.5 MB, free: 5.953 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.433e-06/1.433e-06, allocations: 0 / 427.8 MB, free: 4.625 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.452e-05/2.595e-05, allocations: 6.312 kB / 427.8 MB, free: 4.617 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.3612/0.3612, allocations: 146.4 MB / 0.5608 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.001967/0.3632, allocations: 1.308 MB / 0.562 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001855/0.3634, allocations: 15.88 kB / 0.562 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.3637, allocations: 99.19 kB / 0.5621 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0007537/0.3644, allocations: 389.8 kB / 0.5625 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.000814/0.3652, allocations: 446.7 kB / 0.5629 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0006401/0.3659, allocations: 0.7215 MB / 0.5636 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003414/0.3662, allocations: 195.7 kB / 0.5638 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000518/0.3667, allocations: 401 kB / 0.5642 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.3669, allocations: 199.4 kB / 0.5644 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.367, allocations: 20 kB / 0.5644 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004477/0.3674, allocations: 315.1 kB / 0.5647 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 9.441e-05/0.3675, allocations: 95.7 kB / 0.5648 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.3676, allocations: 99.81 kB / 0.5649 GB, free: 9.934 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.000479/0.3681, allocations: 398.7 kB / 0.5653 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.554e-05/0.3681, allocations: 0 / 0.5653 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3681, allocations: 0 / 0.5653 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.7e-05/0.3681, allocations: 0 / 0.5653 GB, free: 9.543 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.0008259/0.369, allocations: 0.6173 MB / 0.5659 GB, free: 8.906 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.369, allocations: 12.75 kB / 0.5659 GB, free: 8.895 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008469/0.3698, allocations: 293.3 kB / 0.5662 GB, free: 8.59 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.3702, allocations: 256.7 kB / 0.5664 GB, free: 8.316 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.3702, allocations: 24.44 kB / 0.5665 GB, free: 8.293 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.307e-05/0.3702, allocations: 21.83 kB / 0.5665 GB, free: 8.273 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.3705, allocations: 216.6 kB / 0.5667 GB, free: 8.039 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3705, allocations: 0 / 0.5667 GB, free: 8.039 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.3705, allocations: 15.94 kB / 0.5667 GB, free: 8.023 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.3705, allocations: 8 kB / 0.5667 GB, free: 8.016 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.3706, allocations: 74.25 kB / 0.5668 GB, free: 7.941 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.0007594/0.3714, allocations: 0.7848 MB / 0.5675 GB, free: 7.125 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.3715, allocations: 127.1 kB / 0.5677 GB, free: 6.992 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.201e-05/0.3715, allocations: 35.69 kB / 0.5677 GB, free: 6.953 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001884/0.3717, allocations: 47.94 kB / 0.5677 GB, free: 6.906 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.3718, allocations: 38.5 kB / 0.5678 GB, free: 6.859 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=17): time 1.362e-06/0.3718, allocations: 0 / 0.5678 GB, free: 6.859 MB / 0.5417 GB Notification: Performance of matching and sorting (n=17): time 0.0002845/0.372, allocations: 131 kB / 0.5679 GB, free: 6.73 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.3721, allocations: 55.41 kB / 0.568 GB, free: 6.664 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.3722, allocations: 243 kB / 0.5682 GB, free: 6.422 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.3722, allocations: 25.7 kB / 0.5682 GB, free: 6.391 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.176e-05/0.3723, allocations: 172.7 kB / 0.5684 GB, free: 6.219 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.3724, allocations: 59.47 kB / 0.5684 GB, free: 6.16 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.173e-05/0.3724, allocations: 49.64 kB / 0.5685 GB, free: 6.105 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.179e-05/0.3725, allocations: 338.8 kB / 0.5688 GB, free: 5.766 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.755e-05/0.3725, allocations: 29.39 kB / 0.5688 GB, free: 5.738 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/0.3728, allocations: 138.2 kB / 0.569 GB, free: 5.566 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.373, allocations: 116.5 kB / 0.5691 GB, free: 5.434 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.373, allocations: 0 / 0.5691 GB, free: 5.434 MB / 0.5417 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001667/0.3731, allocations: 132.9 kB / 0.5692 GB, free: 5.297 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.3731, allocations: 8 kB / 0.5692 GB, free: 5.289 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3731, allocations: 0 / 0.5692 GB, free: 5.289 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.3731, allocations: 4 kB / 0.5692 GB, free: 5.285 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.3733, allocations: 51.91 kB / 0.5693 GB, free: 5.234 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3733, allocations: 4 kB / 0.5693 GB, free: 5.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.317e-05/0.3734, allocations: 17.36 kB / 0.5693 GB, free: 5.215 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.3734, allocations: 12 kB / 0.5693 GB, free: 5.203 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.611e-05/0.3735, allocations: 124.6 kB / 0.5694 GB, free: 5.07 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.777e-05/0.3735, allocations: 27.86 kB / 0.5694 GB, free: 5.043 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001583/0.3737, allocations: 117 kB / 0.5696 GB, free: 4.926 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3737, allocations: 1.672 kB / 0.5696 GB, free: 4.926 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.3737, allocations: 0 / 0.5696 GB, free: 4.926 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3737, allocations: 3.984 kB / 0.5696 GB, free: 4.922 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004915/0.3742, allocations: 0.5083 MB / 0.5701 GB, free: 4.359 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.3742, allocations: 0 / 0.5701 GB, free: 4.359 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.3743, allocations: 36.53 kB / 0.5701 GB, free: 4.324 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-05/0.3743, allocations: 31.8 kB / 0.5701 GB, free: 4.293 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3743, allocations: 4 kB / 0.5701 GB, free: 4.289 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.3744, allocations: 8 kB / 0.5701 GB, free: 4.281 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-06/0.3744, allocations: 14.05 kB / 0.5701 GB, free: 4.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3744, allocations: 0 / 0.5701 GB, free: 4.27 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.3746, allocations: 334.3 kB / 0.5705 GB, free: 3.898 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.3746, allocations: 4 kB / 0.5705 GB, free: 3.895 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.3747, allocations: 5.453 kB / 0.5705 GB, free: 3.891 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.3748, allocations: 23.91 kB / 0.5705 GB, free: 3.867 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.3748, allocations: 4 kB / 0.5705 GB, free: 3.863 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.983e-05/0.3749, allocations: 84.64 kB / 0.5706 GB, free: 3.781 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5e-08/0.3749, allocations: 0 / 0.5706 GB, free: 3.781 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000294/0.3752, allocations: 91.83 kB / 0.5707 GB, free: 3.691 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.0001769/0.3753, allocations: 124.2 kB / 0.5708 GB, free: 3.559 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001488/0.3755, allocations: 78.45 kB / 0.5709 GB, free: 3.48 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/0.3755, allocations: 7.984 kB / 0.5709 GB, free: 3.473 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.987e-05/0.3755, allocations: 48.7 kB / 0.5709 GB, free: 3.422 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004853/0.376, allocations: 150.8 kB / 0.5711 GB, free: 3.293 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003548/0.3796, allocations: 0.5742 MB / 0.5716 GB, free: 2.668 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.836e-05/0.3796, allocations: 96.3 kB / 0.5717 GB, free: 2.555 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000117/0.3798, allocations: 34.66 kB / 0.5717 GB, free: 2.523 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002132/0.38, allocations: 133.3 kB / 0.5719 GB, free: 2.391 MB / 0.5417 GB Notification: Performance of SimCode: time 6.11e-07/0.38, allocations: 0 / 0.5719 GB, free: 2.391 MB / 0.5417 GB Notification: Performance of Templates: time 0.01526/0.3952, allocations: 5.298 MB / 0.577 GB, free: 13.36 MB / 0.5573 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.8271128572523594]