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.001341/0.001341, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001431/0.001431, allocations: 158 kB / 23.01 MB, free: 4.949 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.436/1.436, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.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.002565/0.002565, allocations: 237.6 kB / 260 MB, free: 440 kB / 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 0.911/0.911, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.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.003127/0.003127, allocations: 111.8 kB / 0.6474 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4523/0.4554, allocations: 95.34 MB / 0.7405 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.1795/0.6349, allocations: 147.7 MB / 0.8847 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002702/0.6376, allocations: 1.488 MB / 0.8861 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001996/0.6378, allocations: 15.88 kB / 0.8861 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004508/0.6382, allocations: 150.8 kB / 0.8863 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001595/0.6398, allocations: 0.7157 MB / 0.887 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.6412, allocations: 0.6235 MB / 0.8876 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008347/0.6421, allocations: 0.7295 MB / 0.8883 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003325/0.6424, allocations: 193.3 kB / 0.8885 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006413/0.643, allocations: 362.7 kB / 0.8888 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003243/0.6434, allocations: 227 kB / 0.889 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.431e-05/0.6434, allocations: 20 kB / 0.8891 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.6446, allocations: 0.7245 MB / 0.8898 GB, free: 9.457 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.6448, allocations: 115.6 kB / 0.8899 GB, free: 9.344 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001753/0.6449, allocations: 151.3 kB / 0.89 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009716/0.6459, allocations: 0.6937 MB / 0.8907 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.6459, allocations: 4 kB / 0.8907 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6459, allocations: 0 / 0.8907 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.6459, allocations: 0 / 0.8907 GB, free: 8.5 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.0009399/0.6469, allocations: 0.6017 MB / 0.8913 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.6469, allocations: 9.344 kB / 0.8913 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/0.648, allocations: 163.6 kB / 0.8915 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005339/0.6486, allocations: 256.5 kB / 0.8917 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.6486, allocations: 20.5 kB / 0.8917 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.775e-05/0.6486, allocations: 31.94 kB / 0.8918 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005052/0.6491, allocations: 281 kB / 0.892 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.6491, allocations: 0 / 0.892 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.6492, allocations: 8 kB / 0.892 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.6492, allocations: 11.98 kB / 0.892 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004428/0.6496, allocations: 200.9 kB / 0.8922 GB, free: 6.867 MB / 0.7169 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.001314/0.6509, allocations: 0.9252 MB / 0.8931 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.6512, allocations: 142.4 kB / 0.8933 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.6514, allocations: 96.73 kB / 0.8934 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004709/0.6519, allocations: 75.92 kB / 0.8934 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.6519, allocations: 30.56 kB / 0.8935 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.313e-06/0.6519, allocations: 0 / 0.8935 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.0008125/0.6527, allocations: 285.6 kB / 0.8937 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.6528, allocations: 63.34 kB / 0.8938 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002695/0.6531, allocations: 268.1 kB / 0.8941 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.6531, allocations: 29.7 kB / 0.8941 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.6532, allocations: 188.2 kB / 0.8943 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.305e-05/0.6533, allocations: 59.48 kB / 0.8943 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.008e-05/0.6534, allocations: 49.66 kB / 0.8944 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.6535, allocations: 334.8 kB / 0.8947 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.6537, allocations: 75.94 kB / 0.8948 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.654, allocations: 202.7 kB / 0.895 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003904/0.6544, allocations: 200.2 kB / 0.8951 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.6544, allocations: 0 / 0.8951 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005002/0.6549, allocations: 253.2 kB / 0.8954 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.6549, allocations: 12.09 kB / 0.8954 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.6549, allocations: 0 / 0.8954 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.6549, allocations: 7.984 kB / 0.8954 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.6551, allocations: 43.97 kB / 0.8954 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.6551, allocations: 7.984 kB / 0.8955 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.6553, allocations: 27.81 kB / 0.8955 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/0.6553, allocations: 8 kB / 0.8955 GB, free: 3.359 MB / 0.7169 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.00015/0.6555, allocations: 145.8 kB / 0.8956 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.476e-05/0.6555, allocations: 31.75 kB / 0.8957 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005139/0.6561, allocations: 234.4 kB / 0.8959 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.6561, allocations: 0 / 0.8959 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.6561, allocations: 4 kB / 0.8959 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.6561, allocations: 0 / 0.8959 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.6571, allocations: 0.6206 MB / 0.8965 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.6571, allocations: 4 kB / 0.8965 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.6573, allocations: 31.98 kB / 0.8965 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.6573, allocations: 4 kB / 0.8965 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.6573, allocations: 4 kB / 0.8965 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.816e-06/0.6573, allocations: 11.94 kB / 0.8965 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.6573, allocations: 0 / 0.8965 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007201/0.658, allocations: 457.3 kB / 0.897 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.535e-05/0.6581, allocations: 47.72 kB / 0.897 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.6582, allocations: 4 kB / 0.897 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.6583, allocations: 11.94 kB / 0.897 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.435e-05/0.6584, allocations: 19.91 kB / 0.8971 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.6584, allocations: 8 kB / 0.8971 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001717/0.6586, allocations: 183.1 kB / 0.8972 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6586, allocations: 0 / 0.8972 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003862/0.659, allocations: 87.83 kB / 0.8973 GB, free: 1.363 MB / 0.7169 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.000256/0.6592, allocations: 155.1 kB / 0.8975 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004367/0.6597, allocations: 171.8 kB / 0.8976 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6597, allocations: 4.094 kB / 0.8976 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.6599, allocations: 92.08 kB / 0.8977 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007268/0.6606, allocations: 122 kB / 0.8978 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.6616, allocations: 0.6266 MB / 0.8985 GB, free: 160 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.6618, allocations: 175.5 kB / 0.8986 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00017/0.662, allocations: 58.25 kB / 0.8987 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.734e-05/0.662, allocations: 24.48 kB / 0.8987 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of SimCode: time 3.7e-07/0.662, allocations: 0 / 0.8987 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of Templates: time 0.009799/0.6718, allocations: 4.854 MB / 0.9034 GB, free: 11.18 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.22880309203174] Failed to read output from testmodel.py, exit status != 0: 0.6798579969909042 0.693462407 0.044517862000000005 Calling exit ...