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.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.001428/0.001428, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001831/0.001831, allocations: 211.6 kB / 22.24 MB, free: 5.262 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.514/1.514, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.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.002537/0.002537, allocations: 298.5 kB / 312.7 MB, free: 2.605 MB / 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 1.347/1.347, allocations: 180.6 MB / 0.5369 GB, free: 14.58 MB / 382.1 MB " [Timeout remaining time 178] 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.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: 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.0029/0.0029, allocations: 102.6 kB / 0.74 GB, free: 28.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1879, allocations: 95.38 MB / 0.8331 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in): time 0.7548/0.9427, allocations: 189.7 MB / 1.018 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01361/0.9563, allocations: 11.24 MB / 1.029 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001755/0.9581, allocations: 63.28 kB / 1.029 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001342/0.9594, allocations: 0.5274 MB / 1.03 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005302/0.9647, allocations: 1.901 MB / 1.032 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005011/0.9697, allocations: 1.948 MB / 1.034 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003251/0.973, allocations: 2.37 MB / 1.036 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001251/0.9742, allocations: 0.85 MB / 1.037 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001418/0.9757, allocations: 0.8572 MB / 1.038 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007925/0.9764, allocations: 0.6839 MB / 1.038 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.9766, allocations: 92.03 kB / 1.038 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004956/0.9815, allocations: 2.31 MB / 1.041 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004921/0.982, allocations: 0.5562 MB / 1.041 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006645/0.9827, allocations: 0.5853 MB / 1.042 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005094/0.9878, allocations: 3.08 MB / 1.045 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.9878, allocations: 0.9062 kB / 1.045 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9878, allocations: 0 / 1.045 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.59e-05/0.9878, allocations: 0 / 1.045 GB, free: 2.555 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002562/0.9904, allocations: 1.718 MB / 1.046 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.9904, allocations: 15.78 kB / 1.046 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001778/0.9922, allocations: 377.5 kB / 1.047 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/0.9939, allocations: 0.9029 MB / 1.048 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.167e-05/0.994, allocations: 76.59 kB / 1.048 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.9941, allocations: 99.44 kB / 1.048 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002264/0.9963, allocations: 1.983 MB / 1.05 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/0.9964, allocations: 6.812 kB / 1.05 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.9965, allocations: 45.06 kB / 1.05 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.503e-05/0.9966, allocations: 61.92 kB / 1.05 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.9979, allocations: 1.027 MB / 1.051 GB, free: 16.4 MB / 0.7325 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.005981/1.004, allocations: 4.404 MB / 1.055 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006153/1.005, allocations: 309 kB / 1.056 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002696/1.005, allocations: 240.9 kB / 1.056 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004199/1.005, allocations: 114.5 kB / 1.056 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.228e-05/1.005, allocations: 42 kB / 1.056 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=28): time 2.725e-06/1.005, allocations: 0 / 1.056 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28): time 0.001242/1.006, allocations: 0.6119 MB / 1.057 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.206e-05/1.007, allocations: 144.8 kB / 1.057 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007763/1.007, allocations: 0.6835 MB / 1.057 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.938e-05/1.007, allocations: 33.95 kB / 1.057 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005246/1.008, allocations: 0.6044 MB / 1.058 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.68e-05/1.008, allocations: 102.6 kB / 1.058 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/1.008, allocations: 69.55 kB / 1.058 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001662/1.008, allocations: 319.4 kB / 1.058 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/1.009, allocations: 151.8 kB / 1.059 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004381/1.009, allocations: 432.5 kB / 1.059 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004976/1.009, allocations: 409.9 kB / 1.059 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/1.009, allocations: 2.844 kB / 1.059 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006974/1.01, allocations: 0.491 MB / 1.06 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/1.01, allocations: 10.31 kB / 1.06 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/1.01, allocations: 3.344 kB / 1.06 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/1.01, allocations: 2.688 kB / 1.06 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/1.01, allocations: 56.17 kB / 1.06 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/1.01, allocations: 6.312 kB / 1.06 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003091/1.011, allocations: 23.89 kB / 1.06 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.199e-05/1.011, allocations: 23.67 kB / 1.06 GB, free: 10.79 MB / 0.7325 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.0005869/1.011, allocations: 382.9 kB / 1.06 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/1.012, allocations: 79.3 kB / 1.06 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005202/1.012, allocations: 324.5 kB / 1.061 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/1.012, allocations: 3.469 kB / 1.061 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/1.012, allocations: 1 kB / 1.061 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/1.012, allocations: 6.125 kB / 1.061 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003716/1.016, allocations: 2.152 MB / 1.063 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/1.016, allocations: 6.031 kB / 1.063 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/1.016, allocations: 53.94 kB / 1.063 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.725e-05/1.016, allocations: 9.125 kB / 1.063 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.36e-05/1.016, allocations: 8.656 kB / 1.063 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-05/1.016, allocations: 13.11 kB / 1.063 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.255e-05/1.016, allocations: 9.812 kB / 1.063 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/1.017, allocations: 0.5557 MB / 1.063 GB, free: 8.781 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003008/1.017, allocations: 129.4 kB / 1.064 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.063e-05/1.017, allocations: 16.95 kB / 1.064 GB, free: 8.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/1.018, allocations: 10.59 kB / 1.064 GB, free: 8.699 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/1.018, allocations: 36.97 kB / 1.064 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/1.018, allocations: 14.03 kB / 1.064 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006083/1.018, allocations: 0.5092 MB / 1.064 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/1.018, allocations: 1.062 kB / 1.064 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001279/1.02, allocations: 410.8 kB / 1.065 GB, free: 8.348 MB / 0.7325 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.001381/1.021, allocations: 0.604 MB / 1.065 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000604/1.022, allocations: 346.7 kB / 1.065 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/1.022, allocations: 2.562 kB / 1.065 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/1.022, allocations: 154.9 kB / 1.066 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001999/1.024, allocations: 0.4889 MB / 1.066 GB, free: 7.906 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003004/1.027, allocations: 1.957 MB / 1.068 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006554/1.028, allocations: 0.6255 MB / 1.069 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005453/1.028, allocations: 177.5 kB / 1.069 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/1.028, allocations: 44.31 kB / 1.069 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of SimCode: time 1.042e-06/1.028, allocations: 0 / 1.069 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of Templates: time 0.03398/1.062, allocations: 20.14 MB / 1.089 GB, free: 11.25 MB / 0.7481 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.907853623852134] Failed to read output from testmodel.py, exit status != 0: 1.070101909339428 1.085514357 0.09460657800000001 Calling exit ...