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.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.001367/0.001367, allocations: 215.8 kB / 23.04 MB, free: 5.07 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.402/1.402, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.00258/0.00258, allocations: 289.4 kB / 313.5 MB, free: 2.812 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.224/1.224, allocations: 180.6 MB / 0.5377 GB, free: 13.04 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.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.002846/0.002846, allocations: 103.1 kB / 0.7403 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.174, allocations: 95.39 MB / 0.8335 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in): time 0.6391/0.8131, allocations: 218.3 MB / 1.047 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01358/0.8267, allocations: 12.29 MB / 1.059 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001526/0.8282, allocations: 61.59 kB / 1.059 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.8294, allocations: 0.5202 MB / 1.059 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004174/0.8335, allocations: 1.986 MB / 1.061 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003967/0.8375, allocations: 2.016 MB / 1.063 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002568/0.8401, allocations: 2.384 MB / 1.065 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001406/0.8415, allocations: 0.8661 MB / 1.066 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001581/0.8431, allocations: 0.8492 MB / 1.067 GB, free: 420 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001084/0.8441, allocations: 0.7105 MB / 1.068 GB, free: 172 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002278/0.8444, allocations: 93.31 kB / 1.068 GB, free: 168 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006053/0.8504, allocations: 2.915 MB / 1.071 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007068/0.8511, allocations: 0.5598 MB / 1.071 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001397/0.8525, allocations: 0.734 MB / 1.072 GB, free: 15 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005746/0.8583, allocations: 3.128 MB / 1.075 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.8583, allocations: 0 / 1.075 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8583, allocations: 0.875 kB / 1.075 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.879e-05/0.8583, allocations: 0 / 1.075 GB, free: 14.05 MB / 0.7325 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.003167/0.8615, allocations: 1.72 MB / 1.077 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.8616, allocations: 10.59 kB / 1.077 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.91e-05/0.8616, allocations: 28.69 kB / 1.077 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001964/0.8618, allocations: 172 kB / 1.077 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001739/0.8635, allocations: 384.9 kB / 1.077 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/0.8651, allocations: 0.897 MB / 1.078 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.568e-05/0.8652, allocations: 76.72 kB / 1.078 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.8653, allocations: 102.5 kB / 1.078 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002076/0.8674, allocations: 1.528 MB / 1.08 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/0.8674, allocations: 5.812 kB / 1.08 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.8675, allocations: 45.69 kB / 1.08 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.896e-05/0.8676, allocations: 67.41 kB / 1.08 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.8689, allocations: 1.024 MB / 1.081 GB, free: 10.31 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.006389/0.8753, allocations: 5.65 MB / 1.087 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005725/0.8759, allocations: 319.5 kB / 1.087 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/0.8762, allocations: 236.2 kB / 1.087 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004412/0.8766, allocations: 110.8 kB / 1.087 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.8767, allocations: 39.88 kB / 1.087 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=28): time 2.174e-06/0.8767, allocations: 0 / 1.087 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28): time 0.001285/0.8779, allocations: 0.6758 MB / 1.088 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.893e-05/0.878, allocations: 142.7 kB / 1.088 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001928/0.88, allocations: 1.681 MB / 1.09 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.36e-05/0.88, allocations: 36.11 kB / 1.09 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005146/0.8805, allocations: 0.565 MB / 1.09 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.723e-05/0.8806, allocations: 105.8 kB / 1.09 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.8807, allocations: 63.97 kB / 1.09 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.8809, allocations: 317.3 kB / 1.091 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.8811, allocations: 158.7 kB / 1.091 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003066/0.8814, allocations: 273.3 kB / 1.091 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004549/0.8818, allocations: 410.9 kB / 1.091 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.8818, allocations: 0 / 1.091 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007661/0.8826, allocations: 0.5495 MB / 1.092 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.8826, allocations: 8.188 kB / 1.092 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.8826, allocations: 96 / 1.092 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.8826, allocations: 9.328 kB / 1.092 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.8829, allocations: 54.91 kB / 1.092 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.8829, allocations: 5.875 kB / 1.092 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005724/0.8834, allocations: 120.3 kB / 1.092 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/0.8835, allocations: 20.52 kB / 1.092 GB, free: 1.922 MB / 0.7325 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.0005041/0.884, allocations: 373.3 kB / 1.093 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000223/0.8842, allocations: 151.3 kB / 1.093 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000587/0.8848, allocations: 379.9 kB / 1.093 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.8848, allocations: 9.719 kB / 1.093 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.8848, allocations: 0 / 1.093 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.617e-06/0.8848, allocations: 3.938 kB / 1.093 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003382/0.8882, allocations: 2.346 MB / 1.095 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/0.8882, allocations: 9.062 kB / 1.095 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001937/0.8884, allocations: 54.97 kB / 1.095 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/0.8884, allocations: 6.781 kB / 1.095 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.8884, allocations: 12.47 kB / 1.095 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.756e-06/0.8884, allocations: 11.81 kB / 1.095 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.503e-06/0.8885, allocations: 10.69 kB / 1.095 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007168/0.8892, allocations: 0.6273 MB / 1.096 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004768/0.8896, allocations: 231.6 kB / 1.096 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/0.8898, allocations: 16.05 kB / 1.096 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003458/0.8902, allocations: 12.41 kB / 1.096 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.143e-05/0.8902, allocations: 37.97 kB / 1.096 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/0.8902, allocations: 18.5 kB / 1.096 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00157/0.8918, allocations: 1.226 MB / 1.098 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of sort global known variables: time 6e-08/0.8918, allocations: 0 / 1.098 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001038/0.8929, allocations: 331.4 kB / 1.098 GB, free: 13.55 MB / 0.7481 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.002298/0.8952, allocations: 1.659 MB / 1.1 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005715/0.8957, allocations: 338.6 kB / 1.1 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.8957, allocations: 0 / 1.1 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002009/0.8959, allocations: 159.9 kB / 1.1 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003884/0.8998, allocations: 0.935 MB / 1.101 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01369/0.9135, allocations: 10.53 MB / 1.111 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008737/0.9144, allocations: 1.208 MB / 1.112 GB, free: 14.44 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0008542/0.9152, allocations: 294.7 kB / 1.113 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005742/0.9158, allocations: 467.3 kB / 1.113 GB, free: 13.69 MB / 0.7637 GB Notification: Performance of SimCode: time 7.92e-07/0.9158, allocations: 0 / 1.113 GB, free: 13.69 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07968/0.9955, allocations: 44.49 MB / 1.157 GB, free: 1.719 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.48/14.47, allocations: 15.22 kB / 1.157 GB, free: 1.707 MB / 0.795 GB " [Timeout remaining time 645] (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: 18.771060259954538] Failed to read output from testmodel.py, exit status != 0: 14.65831068099942 14.685207671 13.821904896 Calling exit ...