Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_8_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_8_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007603/0.0007603, allocations: 91.77 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003934/0.003934, allocations: 170.6 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.268/1.268, allocations: 205.4 MB / 222.5 MB, free: 5.789 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.609/1.609, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000464/0.000464, allocations: 22.17 kB / 0.6744 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1759, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.5282/0.7041, allocations: 217.2 MB / 1 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01274/0.7169, allocations: 13.08 MB / 1.013 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001179/0.7181, allocations: 47.56 kB / 1.013 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009508/0.719, allocations: 402.7 kB / 1.013 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003779/0.7228, allocations: 1.766 MB / 1.015 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004131/0.727, allocations: 1.952 MB / 1.017 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002412/0.7294, allocations: 3.065 MB / 1.02 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009895/0.7304, allocations: 0.9966 MB / 1.021 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000767/0.7312, allocations: 0.6875 MB / 1.022 GB, free: 376 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005842/0.7317, allocations: 0.6694 MB / 1.022 GB, free: 40 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.174e-05/0.7318, allocations: 35.66 kB / 1.022 GB, free: 40 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004693/0.7365, allocations: 3.743 MB / 1.026 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003246/0.7369, allocations: 485.4 kB / 1.026 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0004904/0.7374, allocations: 0.6707 MB / 1.027 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003112/0.7405, allocations: 3.434 MB / 1.03 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.7405, allocations: 2.594 kB / 1.03 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7405, allocations: 0 / 1.03 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.7405, allocations: 0 / 1.03 GB, free: 11.74 MB / 0.7481 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.001688/0.7422, allocations: 1.469 MB / 1.032 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.7423, allocations: 7.906 kB / 1.032 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001718/0.7424, allocations: 169.3 kB / 1.032 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001484/0.7439, allocations: 367.9 kB / 1.032 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.7451, allocations: 0.8896 MB / 1.033 GB, free: 9.625 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.087e-05/0.7452, allocations: 77.72 kB / 1.033 GB, free: 9.59 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.7453, allocations: 104.8 kB / 1.033 GB, free: 9.555 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/0.7472, allocations: 1.502 MB / 1.035 GB, free: 8.586 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.7473, allocations: 6.938 kB / 1.035 GB, free: 8.582 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.192e-05/0.7473, allocations: 47.11 kB / 1.035 GB, free: 8.547 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.344e-05/0.7474, allocations: 68.31 kB / 1.035 GB, free: 8.527 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.7487, allocations: 1.017 MB / 1.036 GB, free: 8.027 MB / 0.7481 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.005556/0.7543, allocations: 5.892 MB / 1.042 GB, free: 2.969 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004838/0.7547, allocations: 313.3 kB / 1.042 GB, free: 2.758 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002523/0.755, allocations: 248.1 kB / 1.042 GB, free: 2.621 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006036/0.7556, allocations: 0.6089 MB / 1.043 GB, free: 2.004 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.7557, allocations: 45.36 kB / 1.043 GB, free: 1.953 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=28): time 1.943e-06/0.7557, allocations: 0 / 1.043 GB, free: 1.953 MB / 0.7481 GB Notification: Performance of matching and sorting (n=28): time 0.001151/0.7568, allocations: 0.6638 MB / 1.044 GB, free: 1.617 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.7569, allocations: 139.8 kB / 1.044 GB, free: 1.453 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/0.7587, allocations: 1.658 MB / 1.045 GB, free: 0.5859 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.7587, allocations: 34.83 kB / 1.045 GB, free: 0.5508 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004444/0.7592, allocations: 0.5486 MB / 1.046 GB, free: 72 kB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.663e-05/0.7593, allocations: 96.97 kB / 1.046 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-05/0.7593, allocations: 30.39 kB / 1.046 GB, free: 15.96 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.923e-05/0.7594, allocations: 315.8 kB / 1.046 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.7596, allocations: 163.4 kB / 1.046 GB, free: 15.57 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000333/0.76, allocations: 283.9 kB / 1.047 GB, free: 15.37 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000448/0.7604, allocations: 435 kB / 1.047 GB, free: 15.09 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.7604, allocations: 1.75 kB / 1.047 GB, free: 15.09 MB / 0.7637 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006759/0.7611, allocations: 0.5676 MB / 1.048 GB, free: 14.71 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.7612, allocations: 10.97 kB / 1.048 GB, free: 14.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.7612, allocations: 4 kB / 1.048 GB, free: 14.7 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.7612, allocations: 4 kB / 1.048 GB, free: 14.69 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.7614, allocations: 55.91 kB / 1.048 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.7614, allocations: 7.938 kB / 1.048 GB, free: 14.63 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000509/0.7619, allocations: 110.8 kB / 1.048 GB, free: 14.52 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.964e-05/0.762, allocations: 23.98 kB / 1.048 GB, free: 14.5 MB / 0.7637 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.0004599/0.7625, allocations: 381.5 kB / 1.048 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/0.7626, allocations: 134.3 kB / 1.048 GB, free: 13.98 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005373/0.7632, allocations: 386.7 kB / 1.049 GB, free: 13.58 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.7632, allocations: 0 / 1.049 GB, free: 13.58 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.7632, allocations: 12 kB / 1.049 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.7632, allocations: 0 / 1.049 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00303/0.7663, allocations: 2.564 MB / 1.051 GB, free: 10.83 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.7663, allocations: 4 kB / 1.051 GB, free: 10.83 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/0.7665, allocations: 47.92 kB / 1.051 GB, free: 10.78 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/0.7665, allocations: 8 kB / 1.051 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.7665, allocations: 15.94 kB / 1.051 GB, free: 10.76 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.063e-05/0.7665, allocations: 20.48 kB / 1.051 GB, free: 10.74 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.7665, allocations: 12 kB / 1.051 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006351/0.7672, allocations: 0.6137 MB / 1.052 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003576/0.7675, allocations: 303.2 kB / 1.052 GB, free: 9.699 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/0.7677, allocations: 15.94 kB / 1.052 GB, free: 9.684 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003675/0.7681, allocations: 19.91 kB / 1.052 GB, free: 9.664 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.7681, allocations: 35.84 kB / 1.052 GB, free: 9.629 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/0.7682, allocations: 20 kB / 1.052 GB, free: 9.609 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001389/0.7695, allocations: 1.207 MB / 1.054 GB, free: 8.406 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7696, allocations: 0 / 1.054 GB, free: 8.406 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009903/0.7706, allocations: 375.8 kB / 1.054 GB, free: 8.039 MB / 0.7637 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.002451/0.773, allocations: 1.777 MB / 1.056 GB, free: 6.188 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0005084/0.7735, allocations: 359.5 kB / 1.056 GB, free: 5.836 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.7735, allocations: 0 / 1.056 GB, free: 5.836 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.7737, allocations: 157.2 kB / 1.056 GB, free: 5.684 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004702/0.7784, allocations: 0.8753 MB / 1.057 GB, free: 4.824 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/0.7931, allocations: 11.66 MB / 1.068 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007984/0.794, allocations: 1.208 MB / 1.07 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0008216/0.7948, allocations: 303 kB / 1.07 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005195/0.7953, allocations: 459.3 kB / 1.07 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of SimCode: time 5.11e-07/0.7953, allocations: 3.938 kB / 1.07 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.28/2.075, allocations: 42.6 MB / 1.112 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002747/2.075, allocations: 240.1 kB / 1.112 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.635/4.71, allocations: 3.938 kB / 1.112 GB, free: 12.23 MB / 0.8262 GB (rm -f Buildings_8_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_8_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1)