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.001321/0.001321, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001461/0.001461, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.463/1.463, 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.002474/0.002474, allocations: 289.6 kB / 309.8 MB, free: 3.453 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.052/1.052, allocations: 180.6 MB / 0.5338 GB, free: 12.37 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.BoundaryWithX_in,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_in",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.002864/0.002864, allocations: 91.86 kB / 0.7347 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5058/0.5087, allocations: 95.34 MB / 0.8278 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2498/0.7585, allocations: 217.8 MB / 1.04 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.016/0.7745, allocations: 12.23 MB / 1.052 GB, free: 3.367 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001275/0.7758, allocations: 63.38 kB / 1.052 GB, free: 3.305 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.777, allocations: 0.5196 MB / 1.053 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.004544/0.7816, allocations: 1.96 MB / 1.055 GB, free: 0.8125 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004688/0.7863, allocations: 1.936 MB / 1.057 GB, free: 14.88 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.003179/0.7894, allocations: 2.336 MB / 1.059 GB, free: 12.54 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/0.7909, allocations: 1.006 MB / 1.06 GB, free: 11.51 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001332/0.7922, allocations: 0.8483 MB / 1.061 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008143/0.793, allocations: 0.7157 MB / 1.062 GB, free: 9.941 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.7931, allocations: 92 kB / 1.062 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005127/0.7983, allocations: 2.87 MB / 1.064 GB, free: 6.977 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0005111/0.7988, allocations: 0.5492 MB / 1.065 GB, free: 6.426 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0007476/0.7995, allocations: 0.7347 MB / 1.066 GB, free: 5.688 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004034/0.8036, allocations: 3.123 MB / 1.069 GB, free: 2.555 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.8036, allocations: 0 / 1.069 GB, free: 2.555 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8036, allocations: 0 / 1.069 GB, free: 2.555 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.49e-05/0.8036, allocations: 0 / 1.069 GB, free: 2.555 MB / 0.795 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.002564/0.8062, allocations: 1.796 MB / 1.071 GB, free: 0.6992 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.8062, allocations: 12.03 kB / 1.071 GB, free: 0.6875 MB / 0.795 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.178e-05/0.8062, allocations: 30.06 kB / 1.071 GB, free: 0.6562 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001959/0.8064, allocations: 176.7 kB / 1.071 GB, free: 484 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001702/0.8081, allocations: 378.7 kB / 1.071 GB, free: 104 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.8096, allocations: 0.9667 MB / 1.072 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.433e-05/0.8097, allocations: 82.05 kB / 1.072 GB, free: 15 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.8098, allocations: 100 kB / 1.072 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002168/0.812, allocations: 1.529 MB / 1.074 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.812, allocations: 3.938 kB / 1.074 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.723e-05/0.8121, allocations: 51.92 kB / 1.074 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.187e-05/0.8122, allocations: 65.55 kB / 1.074 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/0.8136, allocations: 1.029 MB / 1.075 GB, free: 12.12 MB / 0.8106 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.006236/0.8199, allocations: 5.858 MB / 1.081 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000579/0.8204, allocations: 310.3 kB / 1.081 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002952/0.8207, allocations: 243.3 kB / 1.081 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007362/0.8215, allocations: 0.7119 MB / 1.082 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.8215, allocations: 46.5 kB / 1.082 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=28): time 2.004e-06/0.8215, allocations: 0 / 1.082 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of matching and sorting (n=28): time 0.001331/0.8228, allocations: 0.6721 MB / 1.082 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.892e-05/0.8229, allocations: 136.5 kB / 1.083 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002096/0.825, allocations: 1.678 MB / 1.084 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.789e-05/0.8251, allocations: 37.7 kB / 1.084 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005183/0.8256, allocations: 0.5623 MB / 1.085 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.608e-05/0.8257, allocations: 99.11 kB / 1.085 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.8258, allocations: 69.64 kB / 1.085 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.8259, allocations: 318 kB / 1.085 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/0.8262, allocations: 163.8 kB / 1.085 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003425/0.8265, allocations: 274.1 kB / 1.086 GB, free: 372 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005285/0.827, allocations: 404.4 kB / 1.086 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.827, allocations: 3.938 kB / 1.086 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007968/0.8278, allocations: 0.5511 MB / 1.087 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.8279, allocations: 6.031 kB / 1.087 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.8279, allocations: 8.172 kB / 1.087 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.8279, allocations: 8 kB / 1.087 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.8281, allocations: 59.86 kB / 1.087 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.8281, allocations: 0.7812 kB / 1.087 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004893/0.8286, allocations: 107 kB / 1.087 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.353e-05/0.8287, allocations: 27.94 kB / 1.087 GB, free: 15.16 MB / 0.8262 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.0004523/0.8291, allocations: 373.6 kB / 1.087 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002282/0.8293, allocations: 155 kB / 1.087 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005975/0.8299, allocations: 385.2 kB / 1.088 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.83, allocations: 7.938 kB / 1.088 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.83, allocations: 0 / 1.088 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.83, allocations: 3.984 kB / 1.088 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00333/0.8333, allocations: 2.518 MB / 1.09 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.8333, allocations: 7.938 kB / 1.09 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/0.8335, allocations: 55.91 kB / 1.09 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.8335, allocations: 8 kB / 1.09 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.8335, allocations: 8 kB / 1.09 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/0.8335, allocations: 8 kB / 1.09 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/0.8335, allocations: 11.94 kB / 1.09 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007151/0.8343, allocations: 0.6311 MB / 1.091 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004124/0.8347, allocations: 300 kB / 1.091 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.8348, allocations: 19.98 kB / 1.091 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003428/0.8352, allocations: 12 kB / 1.091 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/0.8352, allocations: 31.86 kB / 1.091 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/0.8353, allocations: 15.98 kB / 1.091 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001521/0.8368, allocations: 1.235 MB / 1.092 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of sort global known variables: time 5e-08/0.8368, allocations: 0 / 1.092 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0009409/0.8377, allocations: 335.2 kB / 1.093 GB, free: 8.746 MB / 0.8262 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.002162/0.8399, allocations: 1.654 MB / 1.094 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005341/0.8404, allocations: 350.5 kB / 1.095 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.8404, allocations: 384 / 1.095 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002047/0.8406, allocations: 155.7 kB / 1.095 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003501/0.8441, allocations: 0.9198 MB / 1.096 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01338/0.8575, allocations: 10.52 MB / 1.106 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000925/0.8584, allocations: 1.212 MB / 1.107 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0008838/0.8593, allocations: 302.7 kB / 1.108 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005566/0.8599, allocations: 459.3 kB / 1.108 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of SimCode: time 1.062e-06/0.8599, allocations: 0 / 1.108 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4293/1.289, allocations: 44.25 MB / 1.151 GB, free: 291.3 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/11.86, allocations: 6.281 kB / 1.151 GB, free: 291.3 MB / 0.8731 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_in.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.962936285010073] Failed to read output from testmodel.py, exit status != 0: 12.00968355400255 12.026975056 11.219983356 Calling exit ...