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.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.00127/0.00127, allocations: 109.2 kB / 16.45 MB, free: 6.496 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.001399/0.001399, allocations: 196.6 kB / 19.41 MB, free: 3.68 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.358/1.358, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.00235/0.00235, allocations: 289 kB / 303 MB, free: 9.492 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.143/1.143, allocations: 180.9 MB / 0.5261 GB, free: 14.71 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: "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Validation.Boundary,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Validation.Boundary,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002634/0.002634, allocations: 100.7 kB / 0.7248 GB, free: 39.81 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1748, allocations: 94.16 MB / 0.8167 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Boundary): time 0.6661/0.8408, allocations: 254.3 MB / 1.065 GB, free: 2.387 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02239/0.8632, allocations: 20.68 MB / 1.085 GB, free: 1.973 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002611/0.8658, allocations: 73.03 kB / 1.085 GB, free: 1.973 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.00198/0.8678, allocations: 0.849 MB / 1.086 GB, free: 1.969 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.007047/0.8748, allocations: 3.044 MB / 1.089 GB, free: 1.852 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.005823/0.8807, allocations: 2.798 MB / 1.092 GB, free: 1.766 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004493/0.8852, allocations: 3.812 MB / 1.096 GB, free: 1.688 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00133/0.8865, allocations: 1.027 MB / 1.097 GB, free: 1.559 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002616/0.8891, allocations: 1.446 MB / 1.098 GB, free: 1.398 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/0.8905, allocations: 1.067 MB / 1.099 GB, free: 1.188 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001662/0.8907, allocations: 107.7 kB / 1.099 GB, free: 1.188 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007778/0.8984, allocations: 4.15 MB / 1.103 GB, free: 412 kB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0007018/0.8991, allocations: 0.6618 MB / 1.104 GB, free: 152 kB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001324/0.9005, allocations: 0.9803 MB / 1.105 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.007625/0.9081, allocations: 4.168 MB / 1.109 GB, free: 14.42 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.9081, allocations: 0 / 1.109 GB, free: 14.42 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9081, allocations: 0 / 1.109 GB, free: 14.42 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.884e-05/0.9081, allocations: 0 / 1.109 GB, free: 14.42 MB / 0.7637 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.003873/0.912, allocations: 2.366 MB / 1.111 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.9121, allocations: 6.875 kB / 1.111 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002354/0.9123, allocations: 197.4 kB / 1.111 GB, free: 12.58 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002145/0.9144, allocations: 491.2 kB / 1.112 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002703/0.9171, allocations: 1.396 MB / 1.113 GB, free: 11.36 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.811e-05/0.9172, allocations: 97.55 kB / 1.113 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.9174, allocations: 119.1 kB / 1.113 GB, free: 11.28 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002438/0.9198, allocations: 1.719 MB / 1.115 GB, free: 10.13 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.929e-05/0.9198, allocations: 5.156 kB / 1.115 GB, free: 10.13 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.58e-05/0.9199, allocations: 49.06 kB / 1.115 GB, free: 10.1 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.966e-05/0.92, allocations: 62.16 kB / 1.115 GB, free: 10.09 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001776/0.9218, allocations: 1.231 MB / 1.116 GB, free: 9.52 MB / 0.7637 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.008339/0.9301, allocations: 7.537 MB / 1.124 GB, free: 3.043 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009698/0.9311, allocations: 0.6383 MB / 1.124 GB, free: 2.578 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006964/0.9318, allocations: 0.5882 MB / 1.125 GB, free: 2.234 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001859/0.9336, allocations: 1.87 MB / 1.127 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.302e-05/0.9337, allocations: 59.7 kB / 1.127 GB, free: 36 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=72): time 2.886e-06/0.9337, allocations: 0 / 1.127 GB, free: 36 kB / 0.7637 GB Notification: Performance of matching and sorting (n=72): time 0.002419/0.9361, allocations: 1.401 MB / 1.128 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001702/0.9363, allocations: 299.9 kB / 1.128 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002514/0.9388, allocations: 1.885 MB / 1.13 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.658e-05/0.9389, allocations: 43.23 kB / 1.13 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006844/0.9396, allocations: 0.7273 MB / 1.131 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002289/0.9398, allocations: 259.2 kB / 1.131 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.94, allocations: 125.5 kB / 1.131 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.9402, allocations: 338.1 kB / 1.132 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004011/0.9406, allocations: 331.4 kB / 1.132 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007136/0.9413, allocations: 0.562 MB / 1.133 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.9424, allocations: 0.8703 MB / 1.133 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.9424, allocations: 3.938 kB / 1.133 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001582/0.944, allocations: 1.013 MB / 1.134 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.944, allocations: 4 kB / 1.134 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.944, allocations: 4 kB / 1.134 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.9441, allocations: 8 kB / 1.134 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00041/0.9445, allocations: 135.6 kB / 1.135 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/0.9445, allocations: 10.53 kB / 1.135 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007652/0.9452, allocations: 138.8 kB / 1.135 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-05/0.9453, allocations: 43.98 kB / 1.135 GB, free: 9.758 MB / 0.7794 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.0006653/0.946, allocations: 457.3 kB / 1.135 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000458/0.9465, allocations: 198.7 kB / 1.135 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001777/0.9482, allocations: 1.086 MB / 1.136 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.143e-05/0.9483, allocations: 11.98 kB / 1.136 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.9483, allocations: 7.938 kB / 1.136 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.9483, allocations: 7.984 kB / 1.136 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01233/0.9606, allocations: 8.755 MB / 1.145 GB, free: 14.89 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.16e-05/0.9606, allocations: 16 kB / 1.145 GB, free: 14.88 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004362/0.9611, allocations: 143.2 kB / 1.145 GB, free: 14.75 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.906e-05/0.9611, allocations: 20 kB / 1.145 GB, free: 14.73 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-05/0.9612, allocations: 43.98 kB / 1.145 GB, free: 14.69 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.207e-05/0.9612, allocations: 29.05 kB / 1.145 GB, free: 14.67 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.807e-05/0.9612, allocations: 23.69 kB / 1.145 GB, free: 14.65 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002153/0.9634, allocations: 1.672 MB / 1.147 GB, free: 12.78 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009545/0.9643, allocations: 423.5 kB / 1.147 GB, free: 12.34 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000371/0.9647, allocations: 35.98 kB / 1.147 GB, free: 12.31 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000773/0.9655, allocations: 30.66 kB / 1.147 GB, free: 12.28 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.9656, allocations: 112.4 kB / 1.148 GB, free: 12.18 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-05/0.9657, allocations: 55.98 kB / 1.148 GB, free: 12.13 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002038/0.9677, allocations: 1.316 MB / 1.149 GB, free: 10.79 MB / 0.795 GB Notification: Performance of sort global known variables: time 9e-08/0.9677, allocations: 0 / 1.149 GB, free: 10.79 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002143/0.9699, allocations: 0.5184 MB / 1.149 GB, free: 10.27 MB / 0.795 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.004932/0.9748, allocations: 3.036 MB / 1.152 GB, free: 7.074 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001346/0.9761, allocations: 0.8313 MB / 1.153 GB, free: 6.285 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/0.9762, allocations: 0 / 1.153 GB, free: 6.285 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0006805/0.9768, allocations: 473.1 kB / 1.154 GB, free: 5.871 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00613/0.983, allocations: 1.336 MB / 1.155 GB, free: 4.574 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0224/1.005, allocations: 13.92 MB / 1.168 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001389/1.007, allocations: 1.402 MB / 1.17 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001583/1.008, allocations: 494.6 kB / 1.17 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008738/1.009, allocations: 0.6516 MB / 1.171 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of SimCode: time 9.92e-07/1.009, allocations: 4 kB / 1.171 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1119/1.121, allocations: 60.35 MB / 1.23 GB, free: 7.957 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.75, allocations: 4 kB / 1.23 GB, free: 7.953 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: 16.804348450154066] Failed to read output from testmodel.py, exit status != 0: 12.84975601779297 12.865946248 11.954483041 Calling exit ...