Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.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.001412/0.001412, allocations: 119.3 kB / 17.17 MB, free: 5.977 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.001493/0.001493, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.452/1.452, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.002462/0.002462, allocations: 290.3 kB / 309.8 MB, free: 3.473 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.029/1.029, allocations: 180.6 MB / 0.5338 GB, free: 12.4 MB / 398.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: "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Validation.Boundary,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Boundary",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Validation.Boundary,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Boundary",fmuType="cs",version="2.0",platforms={"static"}) [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.002857/0.002857, allocations: 103.8 kB / 0.7347 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5292/0.5321, allocations: 95.33 MB / 0.8278 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Boundary): time 0.3132/0.8453, allocations: 257.4 MB / 1.079 GB, free: 7.914 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02961/0.8749, allocations: 20.7 MB / 1.099 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002923/0.8779, allocations: 110.9 kB / 1.099 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002636/0.8805, allocations: 0.8492 MB / 1.1 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.007457/0.888, allocations: 3.037 MB / 1.103 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.006584/0.8945, allocations: 2.799 MB / 1.106 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005718/0.9003, allocations: 3.811 MB / 1.11 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001887/0.9021, allocations: 1.035 MB / 1.111 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002966/0.9051, allocations: 1.47 MB / 1.112 GB, free: 5.98 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001574/0.9067, allocations: 1.062 MB / 1.113 GB, free: 4.914 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001971/0.9069, allocations: 112 kB / 1.113 GB, free: 4.805 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008561/0.9154, allocations: 4.17 MB / 1.117 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0008592/0.9163, allocations: 0.6581 MB / 1.118 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001245/0.9175, allocations: 0.9834 MB / 1.119 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.007694/0.9252, allocations: 4.166 MB / 1.123 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.9252, allocations: 0 / 1.123 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9252, allocations: 0 / 1.123 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.377e-05/0.9253, allocations: 0 / 1.123 GB, free: 10.8 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.003565/0.9289, allocations: 2.366 MB / 1.125 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.9289, allocations: 11.97 kB / 1.125 GB, free: 8.359 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.032e-05/0.9289, allocations: 34.44 kB / 1.125 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002146/0.9292, allocations: 194 kB / 1.126 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002173/0.9313, allocations: 490.2 kB / 1.126 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002379/0.9337, allocations: 1.389 MB / 1.127 GB, free: 6.203 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.133e-05/0.9338, allocations: 94.42 kB / 1.127 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/0.9339, allocations: 124 kB / 1.128 GB, free: 5.988 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002493/0.9364, allocations: 1.719 MB / 1.129 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.015e-05/0.9365, allocations: 7.938 kB / 1.129 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.9366, allocations: 59.92 kB / 1.129 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.108e-05/0.9367, allocations: 63.73 kB / 1.129 GB, free: 4 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/0.9384, allocations: 1.228 MB / 1.131 GB, free: 2.773 MB / 0.8575 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.007735/0.9462, allocations: 7.543 MB / 1.138 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009219/0.9471, allocations: 0.6304 MB / 1.139 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007075/0.9478, allocations: 0.5874 MB / 1.139 GB, free: 9.5 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001667/0.9495, allocations: 1.871 MB / 1.141 GB, free: 7.223 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/0.9495, allocations: 54.48 kB / 1.141 GB, free: 7.16 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=72): time 3.045e-06/0.9495, allocations: 0 / 1.141 GB, free: 7.16 MB / 0.8731 GB Notification: Performance of matching and sorting (n=72): time 0.002401/0.9519, allocations: 1.4 MB / 1.142 GB, free: 5.754 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001773/0.9521, allocations: 298.7 kB / 1.143 GB, free: 5.395 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002397/0.9545, allocations: 1.888 MB / 1.145 GB, free: 3.469 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.085e-05/0.9546, allocations: 45.64 kB / 1.145 GB, free: 3.418 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006556/0.9552, allocations: 0.7293 MB / 1.145 GB, free: 2.68 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002264/0.9554, allocations: 261.8 kB / 1.146 GB, free: 2.422 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/0.9556, allocations: 130.3 kB / 1.146 GB, free: 2.289 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.9558, allocations: 337.9 kB / 1.146 GB, free: 1.953 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004248/0.9562, allocations: 329.1 kB / 1.146 GB, free: 1.633 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007128/0.9569, allocations: 0.5547 MB / 1.147 GB, free: 1.027 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.958, allocations: 0.8647 MB / 1.148 GB, free: 116 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.958, allocations: 4 kB / 1.148 GB, free: 112 kB / 0.8731 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.3572/1.315, allocations: 1.013 MB / 1.149 GB, free: 294.6 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/1.315, allocations: 7.531 kB / 1.149 GB, free: 294.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/1.315, allocations: 3.031 kB / 1.149 GB, free: 294.6 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-05/1.315, allocations: 6.594 kB / 1.149 GB, free: 294.6 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004353/1.316, allocations: 122.8 kB / 1.149 GB, free: 294.6 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/1.316, allocations: 11.89 kB / 1.149 GB, free: 294.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007199/1.316, allocations: 134 kB / 1.149 GB, free: 294.6 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.16e-05/1.316, allocations: 47.62 kB / 1.149 GB, free: 294.6 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (72): * Single equations (assignments): 72 * 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.0006237/1.317, allocations: 462.7 kB / 1.149 GB, free: 294.4 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000328/1.317, allocations: 199.9 kB / 1.15 GB, free: 294.4 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/1.319, allocations: 1.078 MB / 1.151 GB, free: 294.1 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/1.319, allocations: 10.75 kB / 1.151 GB, free: 294.1 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/1.319, allocations: 5.562 kB / 1.151 GB, free: 294.1 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/1.319, allocations: 11.02 kB / 1.151 GB, free: 294.1 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009503/1.328, allocations: 8.767 MB / 1.159 GB, free: 289.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.892e-05/1.328, allocations: 14.69 kB / 1.159 GB, free: 289.2 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004113/1.329, allocations: 141.9 kB / 1.159 GB, free: 289.2 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.207e-05/1.329, allocations: 20 kB / 1.159 GB, free: 289.2 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.629e-05/1.329, allocations: 39.17 kB / 1.159 GB, free: 289.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.257e-05/1.329, allocations: 38.05 kB / 1.159 GB, free: 289.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.455e-05/1.329, allocations: 21.94 kB / 1.16 GB, free: 289.2 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/1.331, allocations: 1.674 MB / 1.161 GB, free: 288 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006058/1.331, allocations: 427.2 kB / 1.162 GB, free: 287.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000202/1.331, allocations: 37.7 kB / 1.162 GB, free: 287.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006026/1.332, allocations: 27.19 kB / 1.162 GB, free: 287.7 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/1.332, allocations: 103.1 kB / 1.162 GB, free: 287.6 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.883e-05/1.332, allocations: 56.61 kB / 1.162 GB, free: 287.6 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001988/1.334, allocations: 1.318 MB / 1.163 GB, free: 287.1 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/1.334, allocations: 0 / 1.163 GB, free: 287.1 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001776/1.336, allocations: 0.5231 MB / 1.164 GB, free: 287.1 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * 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 (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.003594/1.34, allocations: 3 MB / 1.166 GB, free: 285.3 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00137/1.341, allocations: 0.843 MB / 1.167 GB, free: 285 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/1.341, allocations: 2.344 kB / 1.167 GB, free: 285 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006228/1.342, allocations: 472.6 kB / 1.168 GB, free: 284.9 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005854/1.347, allocations: 1.338 MB / 1.169 GB, free: 284.6 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01812/1.366, allocations: 13.93 MB / 1.183 GB, free: 277.7 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008834/1.366, allocations: 1.401 MB / 1.184 GB, free: 276.9 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001604/1.368, allocations: 494 kB / 1.185 GB, free: 276.8 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006037/1.369, allocations: 0.6537 MB / 1.185 GB, free: 276.3 MB / 0.8731 GB Notification: Performance of SimCode: time 1.193e-06/1.369, allocations: 0 / 1.185 GB, free: 276.3 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08341/1.452, allocations: 60.38 MB / 1.244 GB, free: 224.8 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/13.28, allocations: 8 kB / 1.244 GB, free: 224.8 MB / 0.8731 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Boundary_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Boundary.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.495120488048997] Failed to read output from testmodel.py, exit status != 0: 13.437264945008792 13.454661922 12.525751029 Calling exit ...