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.001216/0.001216, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001466/0.001466, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.4/1.4, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.0025/0.0025, allocations: 279.4 kB / 313.5 MB, free: 2.785 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.194/1.194, allocations: 180.6 MB / 0.5377 GB, free: 12.98 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: "" <> 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.002694/0.002694, allocations: 101.1 kB / 0.7403 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1619, allocations: 95.38 MB / 0.8335 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Boundary): time 0.6588/0.8207, allocations: 258.1 MB / 1.086 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02386/0.8446, allocations: 20.81 MB / 1.106 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003264/0.8478, allocations: 109.1 kB / 1.106 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002651/0.8505, allocations: 0.8479 MB / 1.107 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.009906/0.8604, allocations: 3.076 MB / 1.11 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00768/0.8681, allocations: 2.929 MB / 1.113 GB, free: 8.148 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.005525/0.8736, allocations: 3.864 MB / 1.116 GB, free: 5.848 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001966/0.8755, allocations: 0.9252 MB / 1.117 GB, free: 5.191 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003098/0.8786, allocations: 1.467 MB / 1.119 GB, free: 4.34 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001906/0.8806, allocations: 1.063 MB / 1.12 GB, free: 3.695 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003124/0.8809, allocations: 106.4 kB / 1.12 GB, free: 3.695 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009219/0.8901, allocations: 4.308 MB / 1.124 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001034/0.8911, allocations: 0.6659 MB / 1.125 GB, free: 15.19 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001793/0.8929, allocations: 0.9795 MB / 1.126 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.008884/0.9018, allocations: 4.162 MB / 1.13 GB, free: 10.03 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.9018, allocations: 0 / 1.13 GB, free: 10.03 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.407e-06/0.9018, allocations: 4 kB / 1.13 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.633e-05/0.9019, allocations: 0 / 1.13 GB, free: 10.02 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.004205/0.9061, allocations: 2.298 MB / 1.132 GB, free: 7.684 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.9061, allocations: 9.344 kB / 1.132 GB, free: 7.676 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.21e-05/0.9062, allocations: 30.44 kB / 1.132 GB, free: 7.645 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000305/0.9065, allocations: 194 kB / 1.132 GB, free: 7.445 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002674/0.9092, allocations: 494.2 kB / 1.133 GB, free: 6.961 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003326/0.9125, allocations: 1.305 MB / 1.134 GB, free: 5.613 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.948e-05/0.9126, allocations: 98.38 kB / 1.134 GB, free: 5.516 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002447/0.9128, allocations: 128 kB / 1.134 GB, free: 5.391 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003584/0.9164, allocations: 1.723 MB / 1.136 GB, free: 3.527 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.578e-05/0.9165, allocations: 0 / 1.136 GB, free: 3.527 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/0.9166, allocations: 48 kB / 1.136 GB, free: 3.48 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001125/0.9167, allocations: 79.59 kB / 1.136 GB, free: 3.402 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/0.9189, allocations: 1.218 MB / 1.137 GB, free: 2.184 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.009296/0.9282, allocations: 7.472 MB / 1.145 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009561/0.9291, allocations: 0.6365 MB / 1.145 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000746/0.9299, allocations: 0.5976 MB / 1.146 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008056/0.9307, allocations: 231.9 kB / 1.146 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.059e-05/0.9307, allocations: 54.98 kB / 1.146 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=72): time 3.306e-06/0.9307, allocations: 0 / 1.146 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of matching and sorting (n=72): time 0.002471/0.9332, allocations: 1.394 MB / 1.147 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001549/0.9334, allocations: 302.7 kB / 1.148 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002588/0.9359, allocations: 1.888 MB / 1.15 GB, free: 4.996 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.014e-05/0.936, allocations: 37.7 kB / 1.15 GB, free: 4.953 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007234/0.9368, allocations: 0.7294 MB / 1.15 GB, free: 4.215 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002493/0.937, allocations: 257.8 kB / 1.151 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/0.9372, allocations: 126.3 kB / 1.151 GB, free: 3.832 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.9374, allocations: 333.9 kB / 1.151 GB, free: 3.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004421/0.9378, allocations: 329.1 kB / 1.151 GB, free: 3.176 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007486/0.9386, allocations: 0.5702 MB / 1.152 GB, free: 2.559 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.9397, allocations: 0.8606 MB / 1.153 GB, free: 1.645 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.9397, allocations: 4 kB / 1.153 GB, free: 1.641 MB / 0.7794 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001563/0.9412, allocations: 1.023 MB / 1.154 GB, free: 0.6094 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.9412, allocations: 4 kB / 1.154 GB, free: 0.6055 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.9412, allocations: 4 kB / 1.154 GB, free: 0.6016 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.9413, allocations: 8 kB / 1.154 GB, free: 0.5938 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004235/0.9417, allocations: 123.8 kB / 1.154 GB, free: 484 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.9417, allocations: 8 kB / 1.154 GB, free: 476 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007873/0.9425, allocations: 126.9 kB / 1.154 GB, free: 348 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.9426, allocations: 56.55 kB / 1.154 GB, free: 292 kB / 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.0007304/0.9433, allocations: 462.2 kB / 1.154 GB, free: 15.82 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000506/0.9438, allocations: 198.7 kB / 1.155 GB, free: 15.62 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/0.9456, allocations: 1.087 MB / 1.156 GB, free: 14.54 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-05/0.9457, allocations: 20.36 kB / 1.156 GB, free: 14.52 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.9457, allocations: 7.938 kB / 1.156 GB, free: 14.51 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.9457, allocations: 11.97 kB / 1.156 GB, free: 14.5 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01161/0.9573, allocations: 7.835 MB / 1.163 GB, free: 6.387 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.694e-05/0.9573, allocations: 12 kB / 1.163 GB, free: 6.375 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004452/0.9578, allocations: 152.6 kB / 1.164 GB, free: 6.227 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-05/0.9578, allocations: 20 kB / 1.164 GB, free: 6.207 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.207e-05/0.9578, allocations: 39.94 kB / 1.164 GB, free: 6.168 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.87e-05/0.9579, allocations: 32.05 kB / 1.164 GB, free: 6.137 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.691e-05/0.9579, allocations: 23.88 kB / 1.164 GB, free: 6.113 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002067/0.96, allocations: 1.696 MB / 1.165 GB, free: 4.195 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008159/0.9608, allocations: 346.3 kB / 1.166 GB, free: 3.855 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000308/0.9611, allocations: 43.98 kB / 1.166 GB, free: 3.812 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006695/0.9618, allocations: 20 kB / 1.166 GB, free: 3.793 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.9619, allocations: 103.5 kB / 1.166 GB, free: 3.691 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.632e-05/0.962, allocations: 59.98 kB / 1.166 GB, free: 3.633 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001867/0.9638, allocations: 1.32 MB / 1.167 GB, free: 2.293 MB / 0.795 GB Notification: Performance of sort global known variables: time 8e-08/0.9638, allocations: 0 / 1.167 GB, free: 2.293 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001867/0.9657, allocations: 0.5184 MB / 1.168 GB, free: 1.773 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.004972/0.9707, allocations: 3.019 MB / 1.171 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00135/0.972, allocations: 0.8248 MB / 1.171 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.876e-05/0.972, allocations: 8.25 kB / 1.171 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007062/0.9728, allocations: 474.5 kB / 1.172 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006158/0.9789, allocations: 1.342 MB / 1.173 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02121/1, allocations: 13.93 MB / 1.187 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/1.001, allocations: 1.402 MB / 1.188 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.00159/1.003, allocations: 490.6 kB / 1.189 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009515/1.004, allocations: 0.6555 MB / 1.189 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of SimCode: time 1.032e-06/1.004, allocations: 0 / 1.189 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1099/1.114, allocations: 60.92 MB / 1.249 GB, free: 14.37 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.68/15.79, allocations: 6.984 kB / 1.249 GB, free: 14.37 MB / 0.8887 GB " [Timeout remaining time 644] (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: 20.196509716042783] Failed to read output from testmodel.py, exit status != 0: 15.986305072030518 16.008454978 15.102358004 Calling exit ...