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.001247/0.001247, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00143/0.00143, allocations: 220.3 kB / 22.26 MB, free: 5.125 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 / 256 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.002392/0.002392, allocations: 284.3 kB / 312.7 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.195/1.195, allocations: 180.6 MB / 0.5369 GB, free: 12.97 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="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.002754/0.002754, allocations: 99.09 kB / 0.7396 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1689, allocations: 95.39 MB / 0.8327 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in): time 0.6232/0.792, allocations: 218.3 MB / 1.046 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01291/0.8049, allocations: 12.29 MB / 1.058 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001909/0.8068, allocations: 61.53 kB / 1.058 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.8081, allocations: 0.518 MB / 1.058 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004904/0.8131, allocations: 1.987 MB / 1.06 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004274/0.8173, allocations: 2.019 MB / 1.062 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002715/0.82, allocations: 2.392 MB / 1.065 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001372/0.8214, allocations: 0.8556 MB / 1.066 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001821/0.8232, allocations: 0.8487 MB / 1.066 GB, free: 400 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.8243, allocations: 0.7042 MB / 1.067 GB, free: 160 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.8244, allocations: 93.06 kB / 1.067 GB, free: 160 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005714/0.8301, allocations: 2.913 MB / 1.07 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006533/0.8308, allocations: 0.5568 MB / 1.071 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009692/0.8317, allocations: 0.7319 MB / 1.071 GB, free: 15 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004987/0.8367, allocations: 3.13 MB / 1.074 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.8367, allocations: 4 kB / 1.074 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8367, allocations: 2.75 kB / 1.074 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.03e-05/0.8368, allocations: 0.9688 kB / 1.074 GB, free: 14.06 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.002304/0.8391, allocations: 1.712 MB / 1.076 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.8391, allocations: 11.59 kB / 1.076 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001904/0.8393, allocations: 173 kB / 1.076 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/0.8408, allocations: 389.3 kB / 1.077 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/0.8424, allocations: 0.8912 MB / 1.077 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.494e-05/0.8424, allocations: 80.08 kB / 1.077 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.8425, allocations: 98.44 kB / 1.078 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001947/0.8445, allocations: 1.529 MB / 1.079 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.8445, allocations: 5.688 kB / 1.079 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.169e-05/0.8446, allocations: 51.48 kB / 1.079 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.023e-05/0.8446, allocations: 63.69 kB / 1.079 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.8459, allocations: 1.029 MB / 1.08 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.005852/0.8518, allocations: 5.656 MB / 1.086 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005494/0.8523, allocations: 309 kB / 1.086 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002759/0.8526, allocations: 236.7 kB / 1.086 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004575/0.853, allocations: 113.1 kB / 1.086 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/0.8531, allocations: 43.97 kB / 1.086 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=28): time 2.555e-06/0.8531, allocations: 2.562 kB / 1.086 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28): time 0.001265/0.8544, allocations: 0.6733 MB / 1.087 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.677e-05/0.8544, allocations: 141.9 kB / 1.087 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001916/0.8564, allocations: 1.678 MB / 1.089 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/0.8564, allocations: 35.77 kB / 1.089 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005233/0.8569, allocations: 0.57 MB / 1.089 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.097e-05/0.857, allocations: 98.02 kB / 1.09 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.8571, allocations: 63.88 kB / 1.09 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.8573, allocations: 321.2 kB / 1.09 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.8575, allocations: 156.4 kB / 1.09 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003195/0.8578, allocations: 281.8 kB / 1.09 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004825/0.8583, allocations: 408.1 kB / 1.091 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.8583, allocations: 0 / 1.091 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009046/0.8592, allocations: 0.5465 MB / 1.091 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.8592, allocations: 5.344 kB / 1.091 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.8592, allocations: 2.844 kB / 1.091 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.8592, allocations: 5.125 kB / 1.091 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.8595, allocations: 65.59 kB / 1.091 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.8595, allocations: 3.594 kB / 1.091 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006068/0.8601, allocations: 109.5 kB / 1.091 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.2e-05/0.8601, allocations: 22.11 kB / 1.091 GB, free: 1.934 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.0005207/0.8606, allocations: 373.9 kB / 1.092 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/0.8609, allocations: 152.5 kB / 1.092 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006049/0.8615, allocations: 386.1 kB / 1.092 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.8615, allocations: 2.312 kB / 1.092 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.8615, allocations: 0 / 1.092 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.8615, allocations: 6.312 kB / 1.092 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003883/0.8654, allocations: 2.343 MB / 1.095 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/0.8654, allocations: 13.45 kB / 1.095 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002067/0.8656, allocations: 54.3 kB / 1.095 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.389e-05/0.8656, allocations: 8 kB / 1.095 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/0.8656, allocations: 12.12 kB / 1.095 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.169e-05/0.8657, allocations: 11.28 kB / 1.095 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.188e-05/0.8657, allocations: 9.812 kB / 1.095 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009422/0.8666, allocations: 0.6329 MB / 1.095 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005688/0.8672, allocations: 225.9 kB / 1.096 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.8673, allocations: 16.3 kB / 1.096 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003282/0.8677, allocations: 12.41 kB / 1.096 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.8677, allocations: 45.52 kB / 1.096 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.8678, allocations: 14.38 kB / 1.096 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001646/0.8694, allocations: 1.231 MB / 1.097 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8e-08/0.8694, allocations: 4 kB / 1.097 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001094/0.8705, allocations: 327.4 kB / 1.097 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.002282/0.8728, allocations: 1.666 MB / 1.099 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000587/0.8734, allocations: 339.5 kB / 1.099 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.8734, allocations: 0 / 1.099 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.8736, allocations: 159.1 kB / 1.099 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003401/0.877, allocations: 0.9278 MB / 1.1 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01355/0.8905, allocations: 10.52 MB / 1.11 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009157/0.8914, allocations: 1.208 MB / 1.112 GB, free: 14.44 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0008676/0.8923, allocations: 294.7 kB / 1.112 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005822/0.8929, allocations: 467.3 kB / 1.112 GB, free: 13.69 MB / 0.7637 GB Notification: Performance of SimCode: time 8.21e-07/0.8929, allocations: 0 / 1.112 GB, free: 13.69 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08296/0.9758, allocations: 44.47 MB / 1.156 GB, free: 1.727 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.59, allocations: 1.875 kB / 1.156 GB, free: 1.727 MB / 0.795 GB " [Timeout remaining time 646] (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: 17.706467097999848] Failed to read output from testmodel.py, exit status != 0: 13.71482896100133 13.740034831 12.898737817 Calling exit ...