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.00143/0.00143, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001865/0.001865, allocations: 215.2 kB / 23.03 MB, free: 4.926 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.414/1.414, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.002482/0.002482, allocations: 297.6 kB / 313.5 MB, free: 2.59 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.182/1.182, allocations: 180.6 MB / 0.5377 GB, free: 14.6 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.002742/0.002742, allocations: 104.7 kB / 0.7402 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1715, allocations: 95.39 MB / 0.8334 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in): time 0.6453/0.8168, allocations: 189.5 MB / 1.018 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01456/0.8313, allocations: 11.23 MB / 1.029 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001605/0.833, allocations: 64.06 kB / 1.03 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.8344, allocations: 0.5346 MB / 1.03 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004323/0.8387, allocations: 1.894 MB / 1.032 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004235/0.8429, allocations: 1.965 MB / 1.034 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002676/0.8456, allocations: 2.388 MB / 1.036 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001354/0.8469, allocations: 0.8701 MB / 1.037 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001537/0.8485, allocations: 0.8512 MB / 1.038 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/0.8496, allocations: 0.7127 MB / 1.039 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002332/0.8499, allocations: 90.06 kB / 1.039 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004699/0.8546, allocations: 2.326 MB / 1.041 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007376/0.8553, allocations: 0.5557 MB / 1.041 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001256/0.8566, allocations: 0.5869 MB / 1.042 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007147/0.8637, allocations: 3.084 MB / 1.045 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.8637, allocations: 0.5938 kB / 1.045 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.025e-06/0.8637, allocations: 0 / 1.045 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.483e-05/0.8638, allocations: 4.156 kB / 1.045 GB, free: 2.305 MB / 0.7169 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.003405/0.8672, allocations: 1.717 MB / 1.047 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.8672, allocations: 10.59 kB / 1.047 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.439e-05/0.8673, allocations: 30.81 kB / 1.047 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001652/0.8674, allocations: 167 kB / 1.047 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001602/0.869, allocations: 379.8 kB / 1.047 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.8704, allocations: 0.8995 MB / 1.048 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.514e-05/0.8704, allocations: 77.72 kB / 1.048 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.8706, allocations: 104.1 kB / 1.048 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002054/0.8726, allocations: 1.987 MB / 1.05 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.8726, allocations: 1 kB / 1.05 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-05/0.8727, allocations: 49.78 kB / 1.05 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.264e-05/0.8728, allocations: 62.27 kB / 1.05 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.8739, allocations: 1.03 MB / 1.051 GB, free: 16.11 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.005186/0.8791, allocations: 4.918 MB / 1.056 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005382/0.8796, allocations: 303.1 kB / 1.056 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002531/0.8799, allocations: 241.5 kB / 1.057 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004252/0.8803, allocations: 112.2 kB / 1.057 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.8803, allocations: 42.09 kB / 1.057 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=28): time 2.175e-06/0.8803, allocations: 3.562 kB / 1.057 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28): time 0.001203/0.8816, allocations: 0.6836 MB / 1.058 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.8817, allocations: 136.3 kB / 1.058 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/0.8834, allocations: 1.678 MB / 1.059 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.071e-05/0.8835, allocations: 32.42 kB / 1.059 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005063/0.884, allocations: 0.5662 MB / 1.06 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.294e-05/0.8841, allocations: 100.1 kB / 1.06 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.8842, allocations: 65.08 kB / 1.06 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.8843, allocations: 319.3 kB / 1.06 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.8845, allocations: 159.9 kB / 1.06 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003672/0.8849, allocations: 432.5 kB / 1.061 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004379/0.8853, allocations: 403.9 kB / 1.061 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.8853, allocations: 3.094 kB / 1.061 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006972/0.886, allocations: 0.547 MB / 1.062 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.886, allocations: 5.844 kB / 1.062 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.886, allocations: 9.125 kB / 1.062 GB, free: 9.914 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.886, allocations: 2.594 kB / 1.062 GB, free: 9.914 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.8863, allocations: 57.72 kB / 1.062 GB, free: 9.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.8863, allocations: 5.609 kB / 1.062 GB, free: 9.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005527/0.8868, allocations: 117.3 kB / 1.062 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.299e-05/0.8869, allocations: 24.27 kB / 1.062 GB, free: 9.82 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.0004799/0.8873, allocations: 376.8 kB / 1.062 GB, free: 9.605 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/0.8876, allocations: 146.8 kB / 1.063 GB, free: 9.523 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005481/0.8881, allocations: 380.2 kB / 1.063 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.8881, allocations: 5.188 kB / 1.063 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.8881, allocations: 0 / 1.063 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.8881, allocations: 6.328 kB / 1.063 GB, free: 9.336 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00322/0.8913, allocations: 2.243 MB / 1.065 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.8914, allocations: 5.531 kB / 1.065 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.8915, allocations: 53.02 kB / 1.065 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.8915, allocations: 12.69 kB / 1.065 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.8916, allocations: 13 kB / 1.065 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/0.8916, allocations: 13.2 kB / 1.065 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.8916, allocations: 9.406 kB / 1.065 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006644/0.8922, allocations: 0.6281 MB / 1.066 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004086/0.8926, allocations: 234.8 kB / 1.066 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/0.8928, allocations: 11.59 kB / 1.066 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/0.8932, allocations: 6.531 kB / 1.066 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.848e-05/0.8932, allocations: 44.17 kB / 1.066 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/0.8932, allocations: 17.19 kB / 1.066 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001398/0.8946, allocations: 1.23 MB / 1.067 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8946, allocations: 0 / 1.067 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001051/0.8957, allocations: 330.3 kB / 1.068 GB, free: 6.996 MB / 0.7325 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.002264/0.898, allocations: 1.672 MB / 1.069 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005964/0.8986, allocations: 344.2 kB / 1.07 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.8986, allocations: 2.719 kB / 1.07 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.8988, allocations: 159.1 kB / 1.07 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003579/0.9023, allocations: 0.9261 MB / 1.071 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0131/0.9154, allocations: 10.51 MB / 1.081 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006568/0.9161, allocations: 0.6121 MB / 1.081 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001196/0.9173, allocations: 300.4 kB / 1.082 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006128/0.9179, allocations: 459.5 kB / 1.082 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of SimCode: time 1.162e-06/0.9179, allocations: 0 / 1.082 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0851/1.003, allocations: 47.54 MB / 1.129 GB, free: 2.34 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/14.42, allocations: 16.78 kB / 1.129 GB, free: 2.332 MB / 0.7794 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.659800807014108] Failed to read output from testmodel.py, exit status != 0: 14.606659698998556 14.622729472 13.755728653 Calling exit ...