Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_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.001265/0.001265, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001428/0.001428, allocations: 219.6 kB / 22.26 MB, free: 5.117 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.378/1.378, allocations: 230.6 MB / 256 MB, free: 8.02 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.002388/0.002388, allocations: 277.2 kB / 312.7 MB, free: 2.824 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.2/1.2, allocations: 180.6 MB / 0.5369 GB, free: 12.98 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.BoundaryWithXi_in,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithXi_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.002824/0.002824, allocations: 98.75 kB / 0.7396 GB, free: 28.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1756, allocations: 95.39 MB / 0.8327 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.6108/0.7864, allocations: 218.3 MB / 1.046 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01307/0.7995, allocations: 12.28 MB / 1.058 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001674/0.8012, allocations: 61.62 kB / 1.058 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001459/0.8027, allocations: 0.5168 MB / 1.058 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00465/0.8073, allocations: 1.99 MB / 1.06 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004423/0.8117, allocations: 2.022 MB / 1.062 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003007/0.8147, allocations: 2.419 MB / 1.065 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001301/0.816, allocations: 0.8369 MB / 1.066 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001529/0.8176, allocations: 0.8563 MB / 1.066 GB, free: 408 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001091/0.8187, allocations: 0.7035 MB / 1.067 GB, free: 164 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000222/0.8189, allocations: 92.19 kB / 1.067 GB, free: 164 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005764/0.8246, allocations: 2.914 MB / 1.07 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006851/0.8253, allocations: 0.5488 MB / 1.071 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001233/0.8266, allocations: 0.7235 MB / 1.071 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.006071/0.8326, allocations: 3.116 MB / 1.074 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.8326, allocations: 0 / 1.074 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8326, allocations: 0.875 kB / 1.074 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.016e-05/0.8327, allocations: 0 / 1.074 GB, free: 14.1 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.003379/0.8361, allocations: 1.697 MB / 1.076 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.8361, allocations: 10.75 kB / 1.076 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002767/0.8364, allocations: 167.3 kB / 1.076 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001793/0.8382, allocations: 387.3 kB / 1.076 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001889/0.8401, allocations: 0.8891 MB / 1.077 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.942e-05/0.8402, allocations: 84.56 kB / 1.077 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.8403, allocations: 104.8 kB / 1.078 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/0.8426, allocations: 1.5 MB / 1.079 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/0.8427, allocations: 7.094 kB / 1.079 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.8428, allocations: 53.94 kB / 1.079 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-05/0.8428, allocations: 58.16 kB / 1.079 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/0.8443, allocations: 1.026 MB / 1.08 GB, free: 10.38 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.007006/0.8513, allocations: 5.626 MB / 1.086 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005949/0.8519, allocations: 308.5 kB / 1.086 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/0.8522, allocations: 240.7 kB / 1.086 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004511/0.8527, allocations: 113.4 kB / 1.086 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.8527, allocations: 36.81 kB / 1.086 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=28): time 2.084e-06/0.8527, allocations: 0 / 1.086 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28): time 0.001323/0.854, allocations: 0.6779 MB / 1.087 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.696e-05/0.8541, allocations: 137.4 kB / 1.087 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002071/0.8562, allocations: 1.657 MB / 1.089 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.856e-05/0.8562, allocations: 31.36 kB / 1.089 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005263/0.8568, allocations: 0.5529 MB / 1.089 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.488e-05/0.8568, allocations: 97.72 kB / 1.089 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.857, allocations: 74.11 kB / 1.089 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.8571, allocations: 320.7 kB / 1.09 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.8573, allocations: 162.3 kB / 1.09 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003456/0.8576, allocations: 295.4 kB / 1.09 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004967/0.8581, allocations: 434.8 kB / 1.091 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.8581, allocations: 0 / 1.091 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007951/0.8589, allocations: 0.568 MB / 1.091 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.8589, allocations: 4.906 kB / 1.091 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.8589, allocations: 1.938 kB / 1.091 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.859, allocations: 6.406 kB / 1.091 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.8592, allocations: 52.77 kB / 1.091 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.8592, allocations: 11.45 kB / 1.091 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000556/0.8597, allocations: 110.3 kB / 1.091 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.143e-05/0.8598, allocations: 26 kB / 1.091 GB, free: 1.988 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (32): * Single equations (assignments): 32 * 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.0004616/0.8603, allocations: 383.6 kB / 1.092 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002335/0.8605, allocations: 140.2 kB / 1.092 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005817/0.8611, allocations: 383.7 kB / 1.092 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.8611, allocations: 5 kB / 1.092 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.8611, allocations: 0 / 1.092 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.8611, allocations: 11.23 kB / 1.092 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003439/0.8645, allocations: 2.33 MB / 1.094 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.8645, allocations: 6.719 kB / 1.095 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.8647, allocations: 60.88 kB / 1.095 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.8647, allocations: 8.406 kB / 1.095 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.8647, allocations: 16.03 kB / 1.095 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.538e-06/0.8648, allocations: 15.38 kB / 1.095 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.8648, allocations: 9.688 kB / 1.095 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007252/0.8655, allocations: 0.634 MB / 1.095 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005448/0.866, allocations: 225.2 kB / 1.095 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002266/0.8663, allocations: 21.48 kB / 1.095 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/0.8666, allocations: 10.72 kB / 1.095 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/0.8667, allocations: 41.36 kB / 1.096 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.041e-05/0.8667, allocations: 15.03 kB / 1.096 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001594/0.8683, allocations: 1.206 MB / 1.097 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.8683, allocations: 4 kB / 1.097 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001045/0.8694, allocations: 327.4 kB / 1.097 GB, free: 13.66 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.002372/0.8717, allocations: 1.663 MB / 1.099 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005931/0.8723, allocations: 352.7 kB / 1.099 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.8723, allocations: 0 / 1.099 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.8725, allocations: 162.8 kB / 1.099 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003596/0.8761, allocations: 0.9149 MB / 1.1 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0146/0.8907, allocations: 10.41 MB / 1.11 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009751/0.8917, allocations: 1.201 MB / 1.111 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0009446/0.8927, allocations: 302.6 kB / 1.112 GB, free: 14.36 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006007/0.8933, allocations: 459.3 kB / 1.112 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of SimCode: time 6.11e-07/0.8933, allocations: 0 / 1.112 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08898/0.9822, allocations: 44.24 MB / 1.155 GB, free: 2.176 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/14.01, allocations: 12.38 kB / 1.155 GB, free: 2.168 MB / 0.795 GB " [Timeout remaining time 646] (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.126927661010996] Failed to read output from testmodel.py, exit status != 0: 14.130636812187731 14.146201924 13.310370201 Calling exit ...