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.001394/0.001394, 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.001586/0.001586, allocations: 169 kB / 23.02 MB, free: 1.555 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.031/1.031, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.001811/0.001811, allocations: 226 kB / 260.2 MB, free: 12.84 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.8119/0.8119, allocations: 138.4 MB / 455.2 MB, free: 1.555 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 7.203e-06/7.203e-06, allocations: 0 / 0.5551 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/3.07e-05, allocations: 6.312 kB / 0.5551 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.3684/0.3684, allocations: 146.6 MB / 0.6983 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001678/0.3701, allocations: 1.291 MB / 0.6995 GB, free: 8.871 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002411/0.3704, allocations: 15.88 kB / 0.6995 GB, free: 8.855 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.3707, allocations: 83.22 kB / 0.6996 GB, free: 8.773 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.000768/0.3714, allocations: 401.7 kB / 0.7 GB, free: 8.379 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000742/0.3722, allocations: 458.8 kB / 0.7004 GB, free: 7.93 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.000546/0.3727, allocations: 0.7136 MB / 0.7011 GB, free: 7.215 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002778/0.373, allocations: 197.4 kB / 0.7013 GB, free: 7.027 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004582/0.3735, allocations: 390.9 kB / 0.7017 GB, free: 6.645 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.3737, allocations: 207.4 kB / 0.7019 GB, free: 6.441 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.249e-05/0.3737, allocations: 28 kB / 0.7019 GB, free: 6.414 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004056/0.3741, allocations: 299.1 kB / 0.7022 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 9.567e-05/0.3742, allocations: 123.6 kB / 0.7023 GB, free: 6 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 8.981e-05/0.3743, allocations: 119.8 kB / 0.7024 GB, free: 5.883 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0004741/0.3748, allocations: 450.5 kB / 0.7029 GB, free: 5.441 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.3748, allocations: 0 / 0.7029 GB, free: 5.441 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.81e-07/0.3748, allocations: 0 / 0.7029 GB, free: 5.441 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.3748, allocations: 0 / 0.7029 GB, free: 5.441 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.0005954/0.3754, allocations: 0.6609 MB / 0.7035 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.3754, allocations: 12.75 kB / 0.7035 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006857/0.3761, allocations: 212.1 kB / 0.7037 GB, free: 4.523 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.3764, allocations: 276.9 kB / 0.704 GB, free: 4.23 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.3765, allocations: 32.38 kB / 0.704 GB, free: 4.199 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.875e-05/0.3765, allocations: 20 kB / 0.704 GB, free: 4.18 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/0.3768, allocations: 239.9 kB / 0.7043 GB, free: 3.918 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3768, allocations: 3.984 kB / 0.7043 GB, free: 3.914 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.3768, allocations: 4 kB / 0.7043 GB, free: 3.91 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.3768, allocations: 11.98 kB / 0.7043 GB, free: 3.898 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.377, allocations: 90.12 kB / 0.7044 GB, free: 3.812 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.0008406/0.3778, allocations: 1.143 MB / 0.7055 GB, free: 2.609 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.378, allocations: 98.95 kB / 0.7056 GB, free: 2.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.379e-05/0.378, allocations: 39.67 kB / 0.7056 GB, free: 2.457 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002087/0.3782, allocations: 46.77 kB / 0.7057 GB, free: 2.414 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.3782, allocations: 37.39 kB / 0.7057 GB, free: 2.367 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=17): time 1.683e-06/0.3783, allocations: 4 kB / 0.7057 GB, free: 2.363 MB / 0.5105 GB Notification: Performance of matching and sorting (n=17): time 0.0003413/0.3786, allocations: 172.5 kB / 0.7059 GB, free: 2.191 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.965e-05/0.3786, allocations: 55.41 kB / 0.7059 GB, free: 2.125 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.3788, allocations: 302.3 kB / 0.7062 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.3788, allocations: 29.7 kB / 0.7062 GB, free: 1.781 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.115e-05/0.3789, allocations: 235 kB / 0.7065 GB, free: 1.547 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.3789, allocations: 67.42 kB / 0.7065 GB, free: 1.48 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.382e-05/0.3789, allocations: 51.36 kB / 0.7066 GB, free: 1.422 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.831e-05/0.379, allocations: 0.5079 MB / 0.7071 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.695e-05/0.379, allocations: 27.98 kB / 0.7071 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.191e-05/0.3791, allocations: 179.5 kB / 0.7073 GB, free: 0.6602 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.3793, allocations: 123.2 kB / 0.7074 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3793, allocations: 0 / 0.7074 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001896/0.3794, allocations: 182.4 kB / 0.7076 GB, free: 340 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.3795, allocations: 5.875 kB / 0.7076 GB, free: 336 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3795, allocations: 96 / 0.7076 GB, free: 336 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.3795, allocations: 8 kB / 0.7076 GB, free: 328 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.3796, allocations: 39.92 kB / 0.7076 GB, free: 288 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.3796, allocations: 4.625 kB / 0.7076 GB, free: 284 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.981e-05/0.3797, allocations: 27.83 kB / 0.7077 GB, free: 256 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.3797, allocations: 8 kB / 0.7077 GB, free: 248 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.139e-05/0.3798, allocations: 168.5 kB / 0.7078 GB, free: 68 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.3798, allocations: 39.73 kB / 0.7079 GB, free: 28 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002205/0.38, allocations: 147.5 kB / 0.708 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.38, allocations: 0 / 0.708 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.38, allocations: 4 kB / 0.708 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.38, allocations: 0 / 0.708 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005732/0.3806, allocations: 0.5845 MB / 0.7086 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3806, allocations: 0 / 0.7086 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.3807, allocations: 35.92 kB / 0.7086 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.3807, allocations: 0 / 0.7086 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.3807, allocations: 12.22 kB / 0.7086 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3807, allocations: 4 kB / 0.7086 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3807, allocations: 0 / 0.7086 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003276/0.3811, allocations: 379.2 kB / 0.709 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.145e-05/0.3811, allocations: 39.78 kB / 0.709 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.3812, allocations: 4 kB / 0.709 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.602e-05/0.3812, allocations: 11.98 kB / 0.709 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/0.3813, allocations: 23.86 kB / 0.7091 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-06/0.3813, allocations: 4 kB / 0.7091 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001166/0.3814, allocations: 211 kB / 0.7093 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.3814, allocations: 4.031 kB / 0.7093 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002844/0.3817, allocations: 91.84 kB / 0.7094 GB, free: 14.37 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.0002103/0.3819, allocations: 123.2 kB / 0.7095 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002153/0.3821, allocations: 111.4 kB / 0.7096 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3821, allocations: 0 / 0.7096 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.993e-05/0.3822, allocations: 63.7 kB / 0.7096 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004767/0.3827, allocations: 124.8 kB / 0.7098 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.3837, allocations: 0.589 MB / 0.7103 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.039e-05/0.3838, allocations: 102.4 kB / 0.7104 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001291/0.3839, allocations: 52.69 kB / 0.7105 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.314e-05/0.384, allocations: 24.5 kB / 0.7105 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of SimCode: time 7.92e-07/0.384, allocations: 3.938 kB / 0.7105 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of Templates: time 0.007597/0.3916, allocations: 4.66 MB / 0.7151 GB, free: 8.625 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.4269262640737]