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.001224/0.001224, allocations: 102.9 kB / 16.45 MB, free: 6.449 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.001337/0.001337, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.393/1.393, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.002477/0.002477, allocations: 296.4 kB / 309.1 MB, free: 3.957 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.17/1.17, allocations: 180.9 MB / 0.5333 GB, free: 13.79 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.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",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.002732/0.002732, allocations: 100.1 kB / 0.7342 GB, free: 28.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1663, allocations: 95.34 MB / 0.8273 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in): time 0.6012/0.7675, allocations: 217.8 MB / 1.04 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01107/0.7786, allocations: 12.21 MB / 1.052 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001336/0.7799, allocations: 65.41 kB / 1.052 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.7809, allocations: 0.5232 MB / 1.053 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00381/0.7848, allocations: 1.96 MB / 1.054 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003864/0.7886, allocations: 1.934 MB / 1.056 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002154/0.7908, allocations: 2.339 MB / 1.059 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.7918, allocations: 1.012 MB / 1.06 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.7929, allocations: 0.8507 MB / 1.06 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005857/0.7934, allocations: 0.7054 MB / 1.061 GB, free: 492 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.7935, allocations: 91.25 kB / 1.061 GB, free: 492 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00469/0.7982, allocations: 2.88 MB / 1.064 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005819/0.7988, allocations: 0.5523 MB / 1.065 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000896/0.7997, allocations: 0.7382 MB / 1.065 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005115/0.8048, allocations: 3.119 MB / 1.068 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.8048, allocations: 0 / 1.068 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.305e-06/0.8048, allocations: 0 / 1.068 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.23e-05/0.8049, allocations: 0 / 1.068 GB, free: 14.47 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.00256/0.8074, allocations: 1.798 MB / 1.07 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.8075, allocations: 10.69 kB / 1.07 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001937/0.8077, allocations: 169.3 kB / 1.07 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/0.8093, allocations: 390.8 kB / 1.071 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.8107, allocations: 0.9697 MB / 1.072 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.619e-05/0.8108, allocations: 76.72 kB / 1.072 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.8109, allocations: 100.2 kB / 1.072 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/0.8129, allocations: 1.535 MB / 1.073 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.8129, allocations: 6.219 kB / 1.073 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-05/0.813, allocations: 42.19 kB / 1.073 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.439e-05/0.8131, allocations: 60.17 kB / 1.073 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.8144, allocations: 1.025 MB / 1.074 GB, free: 10.72 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.006041/0.8204, allocations: 5.864 MB / 1.08 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005458/0.821, allocations: 304.2 kB / 1.08 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003381/0.8213, allocations: 248.1 kB / 1.081 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007741/0.8221, allocations: 0.7117 MB / 1.081 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.8221, allocations: 39.66 kB / 1.081 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=28): time 2.544e-06/0.8221, allocations: 2.25 kB / 1.081 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28): time 0.001246/0.8234, allocations: 0.6736 MB / 1.082 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.66e-05/0.8235, allocations: 137.3 kB / 1.082 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001855/0.8253, allocations: 1.677 MB / 1.084 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/0.8253, allocations: 32.92 kB / 1.084 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005283/0.8259, allocations: 0.5651 MB / 1.084 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.439e-05/0.826, allocations: 101.6 kB / 1.084 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.8261, allocations: 67.2 kB / 1.085 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.8262, allocations: 321.3 kB / 1.085 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/0.8264, allocations: 160.3 kB / 1.085 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003205/0.8268, allocations: 273.5 kB / 1.085 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005124/0.8273, allocations: 411.2 kB / 1.086 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.8273, allocations: 0 / 1.086 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006926/0.828, allocations: 0.5537 MB / 1.086 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.828, allocations: 8.484 kB / 1.086 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.828, allocations: 3.188 kB / 1.086 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.828, allocations: 3.406 kB / 1.086 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.8282, allocations: 53.52 kB / 1.086 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.8282, allocations: 9.938 kB / 1.086 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004885/0.8287, allocations: 110.2 kB / 1.086 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/0.8287, allocations: 15.72 kB / 1.086 GB, free: 1.344 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.000408/0.8292, allocations: 390.1 kB / 1.087 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/0.8294, allocations: 147 kB / 1.087 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005397/0.8299, allocations: 380.6 kB / 1.087 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.8299, allocations: 3.375 kB / 1.087 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.8299, allocations: 2.562 kB / 1.087 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.8299, allocations: 7.922 kB / 1.087 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003269/0.8332, allocations: 2.525 MB / 1.09 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.8332, allocations: 7 kB / 1.09 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/0.8334, allocations: 57.34 kB / 1.09 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.198e-05/0.8334, allocations: 8.875 kB / 1.09 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.8335, allocations: 8.312 kB / 1.09 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.276e-05/0.8335, allocations: 15.81 kB / 1.09 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.437e-06/0.8335, allocations: 8.344 kB / 1.09 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.8345, allocations: 0.6352 MB / 1.09 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004768/0.835, allocations: 302.9 kB / 1.091 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/0.8351, allocations: 18.33 kB / 1.091 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003492/0.8355, allocations: 6.969 kB / 1.091 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.054e-05/0.8356, allocations: 39.08 kB / 1.091 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.569e-05/0.8356, allocations: 19.27 kB / 1.091 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001681/0.8373, allocations: 1.225 MB / 1.092 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of sort global known variables: time 7e-08/0.8373, allocations: 0 / 1.092 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001208/0.8385, allocations: 335.4 kB / 1.092 GB, free: 12.84 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.002275/0.8408, allocations: 1.654 MB / 1.094 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005876/0.8413, allocations: 347.5 kB / 1.094 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.8413, allocations: 0 / 1.094 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002125/0.8416, allocations: 156.5 kB / 1.094 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003643/0.8452, allocations: 0.9267 MB / 1.095 GB, free: 9.762 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01367/0.8589, allocations: 10.53 MB / 1.106 GB, free: 14.98 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009216/0.8598, allocations: 1.204 MB / 1.107 GB, free: 13.74 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0009035/0.8607, allocations: 298.7 kB / 1.107 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005848/0.8613, allocations: 463.2 kB / 1.108 GB, free: 12.99 MB / 0.7637 GB Notification: Performance of SimCode: time 7.01e-07/0.8613, allocations: 4 kB / 1.108 GB, free: 12.99 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08165/0.9429, allocations: 44.22 MB / 1.151 GB, free: 1.352 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/11.41, allocations: 6.094 kB / 1.151 GB, free: 1.348 MB / 0.795 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.451979038771242] Failed to read output from testmodel.py, exit status != 0: 11.501955571118742 11.521704413 10.713038094 Calling exit ...