Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 189.9 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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.002517/0.002517, allocations: 287.4 kB / 306.6 MB, free: 8.332 MB / 238.1 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 1.24/1.24, allocations: 180.9 MB / 0.53 GB, free: 14.45 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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in") translateModel(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002896/0.002896, allocations: 99.02 kB / 0.7308 GB, free: 38.89 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.179, allocations: 94.2 MB / 0.8228 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in): time 0.6506/0.8296, allocations: 215.3 MB / 1.033 GB, free: 3.516 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01355/0.8431, allocations: 12.28 MB / 1.045 GB, free: 3.363 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001319/0.8444, allocations: 60.84 kB / 1.045 GB, free: 3.363 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.8455, allocations: 0.5222 MB / 1.046 GB, free: 3.359 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004088/0.8496, allocations: 1.977 MB / 1.048 GB, free: 3.289 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003953/0.8536, allocations: 2.023 MB / 1.05 GB, free: 3.23 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002358/0.8559, allocations: 2.391 MB / 1.052 GB, free: 3.223 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001015/0.857, allocations: 0.8613 MB / 1.053 GB, free: 3.156 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.8581, allocations: 0.8463 MB / 1.054 GB, free: 3.156 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007609/0.8588, allocations: 0.7047 MB / 1.054 GB, free: 3.152 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.859, allocations: 91.72 kB / 1.054 GB, free: 3.152 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004905/0.8639, allocations: 2.881 MB / 1.057 GB, free: 3.125 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005186/0.8644, allocations: 0.5537 MB / 1.058 GB, free: 3.125 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0008712/0.8653, allocations: 0.7426 MB / 1.058 GB, free: 3.102 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004591/0.8699, allocations: 3.11 MB / 1.061 GB, free: 2.754 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.8699, allocations: 6 kB / 1.061 GB, free: 2.754 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8699, allocations: 0 / 1.061 GB, free: 2.754 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.649e-05/0.8699, allocations: 0.7812 kB / 1.061 GB, free: 2.754 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002341/0.8722, allocations: 1.712 MB / 1.063 GB, free: 1.867 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.8723, allocations: 8.688 kB / 1.063 GB, free: 1.867 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001686/0.874, allocations: 385 kB / 1.063 GB, free: 1.781 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.8754, allocations: 0.8968 MB / 1.064 GB, free: 1.48 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.119e-05/0.8754, allocations: 80.38 kB / 1.064 GB, free: 1.477 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.8755, allocations: 105.3 kB / 1.065 GB, free: 1.473 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.8773, allocations: 1.53 MB / 1.066 GB, free: 1.188 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.8773, allocations: 5.938 kB / 1.066 GB, free: 1.188 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.17e-05/0.8774, allocations: 46.09 kB / 1.066 GB, free: 1.188 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-05/0.8775, allocations: 59.06 kB / 1.066 GB, free: 1.184 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.8786, allocations: 1.031 MB / 1.067 GB, free: 1.176 MB / 0.7481 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.005374/0.884, allocations: 5.654 MB / 1.073 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004993/0.8845, allocations: 309.5 kB / 1.073 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000256/0.8848, allocations: 241.5 kB / 1.073 GB, free: 13.79 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003957/0.8852, allocations: 115.7 kB / 1.073 GB, free: 13.79 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.8852, allocations: 42.19 kB / 1.073 GB, free: 13.74 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=28): time 2.394e-06/0.8852, allocations: 2.766 kB / 1.073 GB, free: 13.74 MB / 0.7637 GB Notification: Performance of matching and sorting (n=28): time 0.001164/0.8864, allocations: 0.6803 MB / 1.074 GB, free: 13.63 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.637e-05/0.8865, allocations: 134.2 kB / 1.074 GB, free: 13.47 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/0.888, allocations: 1.682 MB / 1.076 GB, free: 13.31 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.147e-05/0.888, allocations: 34.92 kB / 1.076 GB, free: 13.28 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003638/0.8884, allocations: 0.5603 MB / 1.076 GB, free: 13.17 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 5.039e-05/0.8884, allocations: 97.86 kB / 1.076 GB, free: 13.11 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.416e-05/0.8885, allocations: 67.69 kB / 1.077 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.8887, allocations: 320.2 kB / 1.077 GB, free: 12.78 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.8888, allocations: 158.2 kB / 1.077 GB, free: 12.78 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002503/0.8891, allocations: 279.1 kB / 1.077 GB, free: 12.69 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000393/0.8895, allocations: 404.8 kB / 1.078 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.8895, allocations: 4.312 kB / 1.078 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006561/0.8902, allocations: 0.5493 MB / 1.078 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.8902, allocations: 10.91 kB / 1.078 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.8902, allocations: 5.016 kB / 1.078 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.8902, allocations: 3.312 kB / 1.078 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.8904, allocations: 54.5 kB / 1.078 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.8904, allocations: 7.766 kB / 1.078 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004989/0.8909, allocations: 111.5 kB / 1.078 GB, free: 12.42 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/0.8909, allocations: 18.31 kB / 1.078 GB, free: 12.42 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (30): * Single equations (assignments): 30 * 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.0003798/0.8913, allocations: 384.8 kB / 1.079 GB, free: 12.31 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000227/0.8916, allocations: 151 kB / 1.079 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004963/0.892, allocations: 384.1 kB / 1.079 GB, free: 12.14 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.8921, allocations: 3.031 kB / 1.079 GB, free: 12.14 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.8921, allocations: 8.25 kB / 1.079 GB, free: 12.13 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.8921, allocations: 1.453 kB / 1.079 GB, free: 12.13 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002896/0.895, allocations: 2.346 MB / 1.082 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.895, allocations: 6.156 kB / 1.082 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.8951, allocations: 53.05 kB / 1.082 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.8952, allocations: 6.844 kB / 1.082 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.8952, allocations: 13.59 kB / 1.082 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.8952, allocations: 12.66 kB / 1.082 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.8952, allocations: 11.47 kB / 1.082 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006384/0.8958, allocations: 0.6288 MB / 1.082 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003792/0.8962, allocations: 229.1 kB / 1.082 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/0.8964, allocations: 11.58 kB / 1.082 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003589/0.8967, allocations: 13.91 kB / 1.082 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.8968, allocations: 43.7 kB / 1.083 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/0.8968, allocations: 16.53 kB / 1.083 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001236/0.898, allocations: 1.225 MB / 1.084 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of sort global known variables: time 7e-08/0.898, allocations: 0.8125 kB / 1.084 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008605/0.8989, allocations: 330.7 kB / 1.084 GB, free: 10.8 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 simulation (26): * Single equations (assignments): 26 * 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.001284/0.9002, allocations: 0.613 MB / 1.085 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0004434/0.9006, allocations: 349.2 kB / 1.085 GB, free: 10.65 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.9006, allocations: 0.9688 kB / 1.085 GB, free: 10.65 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.9008, allocations: 161.8 kB / 1.085 GB, free: 10.65 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003489/0.9043, allocations: 0.9198 MB / 1.086 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/0.9067, allocations: 2.142 MB / 1.088 GB, free: 9.508 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000835/0.9076, allocations: 1.208 MB / 1.089 GB, free: 8.793 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0007101/0.9083, allocations: 300.1 kB / 1.09 GB, free: 8.73 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.9084, allocations: 84.03 kB / 1.09 GB, free: 8.723 MB / 0.7637 GB Notification: Performance of SimCode: time 4.01e-07/0.9084, allocations: 0 / 1.09 GB, free: 8.723 MB / 0.7637 GB Notification: Performance of Templates: time 0.04906/0.9575, allocations: 31.29 MB / 1.12 GB, free: 3.758 MB / 0.7794 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.58109861984849] Failed to read output from testmodel.py, exit status != 0: 0.9649365283548832 0.979320209 0.10635439000000001 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fc27de997b0>