Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.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.001246/0.001246, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001683/0.001683, allocations: 223.5 kB / 23.01 MB, free: 4.609 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.352/1.352, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.00241/0.00241, allocations: 287 kB / 313.5 MB, free: 2.852 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.148/1.148, allocations: 180.6 MB / 0.5377 GB, free: 13.03 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 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.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet") [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.002819/0.002819, allocations: 106.5 kB / 0.7408 GB, free: 27.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1674, allocations: 95.38 MB / 0.834 GB, free: 8.156 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6021/0.7695, allocations: 197.8 MB / 1.027 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008222/0.7777, allocations: 5.28 MB / 1.032 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001924/0.7796, allocations: 69.66 kB / 1.032 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002097/0.7817, allocations: 0.8383 MB / 1.033 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006838/0.7886, allocations: 2.784 MB / 1.036 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002551/0.7911, allocations: 1.06 MB / 1.037 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003426/0.7946, allocations: 2.747 MB / 1.04 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001425/0.796, allocations: 0.7722 MB / 1.04 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002265/0.7982, allocations: 1.179 MB / 1.042 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00181/0.8001, allocations: 1.066 MB / 1.043 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003891/0.8004, allocations: 85.22 kB / 1.043 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003701/0.8041, allocations: 1.946 MB / 1.045 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006194/0.8048, allocations: 474.3 kB / 1.045 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009631/0.8057, allocations: 0.6711 MB / 1.046 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003424/0.8092, allocations: 2.229 MB / 1.048 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.8092, allocations: 0 / 1.048 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.232e-06/0.8092, allocations: 1.062 kB / 1.048 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.637e-05/0.8092, allocations: 0 / 1.048 GB, free: 2.238 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.004801/0.814, allocations: 1.96 MB / 1.05 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.814, allocations: 11.5 kB / 1.05 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005115/0.8191, allocations: 0.9033 MB / 1.051 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001654/0.8208, allocations: 0.9029 MB / 1.052 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.822e-05/0.8208, allocations: 71.83 kB / 1.052 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/0.821, allocations: 95.23 kB / 1.052 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003236/0.8242, allocations: 1.587 MB / 1.053 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.8243, allocations: 3.875 kB / 1.053 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.8244, allocations: 32.97 kB / 1.053 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.654e-05/0.8244, allocations: 45.41 kB / 1.053 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00451/0.8289, allocations: 1.85 MB / 1.055 GB, free: 16.72 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.007317/0.8362, allocations: 4.687 MB / 1.06 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003868/0.8401, allocations: 1.525 MB / 1.061 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002097/0.8422, allocations: 0.8174 MB / 1.062 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009287/0.8431, allocations: 204.1 kB / 1.062 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00228/0.8454, allocations: 0.9076 MB / 1.063 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=95): time 2.966e-06/0.8454, allocations: 7.375 kB / 1.063 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=95): time 0.007145/0.8525, allocations: 2.455 MB / 1.065 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.8526, allocations: 65.09 kB / 1.066 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/0.854, allocations: 1.225 MB / 1.067 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001098/0.8541, allocations: 46.39 kB / 1.067 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004754/0.8546, allocations: 0.5504 MB / 1.067 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004086/0.855, allocations: 347.4 kB / 1.068 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004521/0.8555, allocations: 190 kB / 1.068 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002148/0.8557, allocations: 346.3 kB / 1.068 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001968/0.8577, allocations: 0.7002 MB / 1.069 GB, free: 9.453 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002158/0.8598, allocations: 0.9115 MB / 1.07 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003952/0.8638, allocations: 1.549 MB / 1.071 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.8638, allocations: 0 / 1.071 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004755/0.8685, allocations: 1.79 MB / 1.073 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.8685, allocations: 7.156 kB / 1.073 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.8686, allocations: 7.531 kB / 1.073 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.8686, allocations: 10.56 kB / 1.073 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/0.8702, allocations: 351 kB / 1.073 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.8702, allocations: 6.969 kB / 1.073 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/0.8718, allocations: 239.9 kB / 1.074 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.5e-05/0.8719, allocations: 45.11 kB / 1.074 GB, free: 6.945 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * 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.0005899/0.8725, allocations: 340.3 kB / 1.074 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002248/0.8727, allocations: 143.8 kB / 1.074 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005148/0.8778, allocations: 1.841 MB / 1.076 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.8778, allocations: 8.125 kB / 1.076 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.8778, allocations: 1.75 kB / 1.076 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.8779, allocations: 3.984 kB / 1.076 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007747/0.8856, allocations: 3.349 MB / 1.079 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.8856, allocations: 0.5 kB / 1.079 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001653/0.8873, allocations: 303.4 kB / 1.079 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-05/0.8873, allocations: 11.19 kB / 1.079 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.596e-05/0.8874, allocations: 31.97 kB / 1.08 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.166e-05/0.8874, allocations: 8 kB / 1.08 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.8874, allocations: 7.094 kB / 1.08 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007367/0.8948, allocations: 2.881 MB / 1.082 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007394/0.8955, allocations: 250.8 kB / 1.083 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002144/0.8957, allocations: 23.98 kB / 1.083 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/0.8971, allocations: 151.8 kB / 1.083 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001654/0.8972, allocations: 83.56 kB / 1.083 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.8974, allocations: 40.84 kB / 1.083 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00117/0.8985, allocations: 0.8517 MB / 1.084 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of sort global known variables: time 7e-08/0.8985, allocations: 0 / 1.084 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001089/0.8996, allocations: 351.6 kB / 1.084 GB, free: 14.13 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001762/0.9014, allocations: 0.5238 MB / 1.085 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.004807/0.9062, allocations: 1.591 MB / 1.086 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/0.9062, allocations: 4 kB / 1.086 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002392/0.9086, allocations: 0.8115 MB / 1.087 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002903/0.9115, allocations: 0.6056 MB / 1.087 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006872/0.9184, allocations: 3.129 MB / 1.091 GB, free: 7.652 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008878/0.9192, allocations: 1.191 MB / 1.092 GB, free: 6.426 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007347/0.92, allocations: 135.3 kB / 1.092 GB, free: 6.293 MB / 0.7481 GB Notification: Performance of SimCode: time 8.82e-07/0.92, allocations: 0 / 1.092 GB, free: 6.293 MB / 0.7481 GB Notification: Performance of Templates: time 0.03509/0.9551, allocations: 22 MB / 1.113 GB, free: 476 kB / 0.7638 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.8589285640046] Failed to read output from testmodel.py, exit status != 0: 0.9629078621510416 0.977060105 0.164921554 Calling exit ...