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.001347/0.001347, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001029/0.001029, allocations: 195.3 kB / 16.14 MB, free: 6.715 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.248/1.248, allocations: 205.1 MB / 222 MB, free: 4.773 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.641/1.641, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001315/0.001315, allocations: 69.2 kB / 0.6709 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1755, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.4985/0.674, allocations: 220.2 MB / 0.9978 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01082/0.6849, allocations: 13.25 MB / 1.011 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.6861, allocations: 49 kB / 1.011 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008832/0.687, allocations: 400.6 kB / 1.011 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003241/0.6902, allocations: 1.771 MB / 1.013 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003746/0.694, allocations: 1.956 MB / 1.015 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002381/0.6964, allocations: 3.071 MB / 1.018 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.6974, allocations: 1.025 MB / 1.019 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008611/0.6983, allocations: 0.7235 MB / 1.02 GB, free: 14 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006412/0.699, allocations: 0.6981 MB / 1.02 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 9.665e-05/0.6991, allocations: 47.44 kB / 1.02 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005369/0.7044, allocations: 3.75 MB / 1.024 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003763/0.7048, allocations: 0.5027 MB / 1.024 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0005514/0.7054, allocations: 0.6626 MB / 1.025 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003673/0.7091, allocations: 3.474 MB / 1.028 GB, free: 9.777 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.7091, allocations: 0 / 1.028 GB, free: 9.777 MB / 0.7481 GB Notification: Performance of FrontEnd: time 7.71e-07/0.7091, allocations: 0 / 1.028 GB, free: 9.777 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.29e-05/0.7091, allocations: 0 / 1.028 GB, free: 9.777 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.001864/0.711, allocations: 1.758 MB / 1.03 GB, free: 8.453 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.711, allocations: 8.438 kB / 1.03 GB, free: 8.453 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001691/0.7112, allocations: 167 kB / 1.03 GB, free: 8.32 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001511/0.7127, allocations: 376.7 kB / 1.031 GB, free: 8.145 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.7138, allocations: 0.8991 MB / 1.032 GB, free: 7.457 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.711e-05/0.7138, allocations: 78.7 kB / 1.032 GB, free: 7.422 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.948e-05/0.7139, allocations: 99.47 kB / 1.032 GB, free: 7.391 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/0.7157, allocations: 1.509 MB / 1.033 GB, free: 6.406 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.7157, allocations: 6.406 kB / 1.033 GB, free: 6.402 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-05/0.7158, allocations: 45.34 kB / 1.033 GB, free: 6.371 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.827e-05/0.7158, allocations: 55.05 kB / 1.033 GB, free: 6.363 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.717, allocations: 1.026 MB / 1.034 GB, free: 5.859 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.005019/0.7221, allocations: 5.922 MB / 1.04 GB, free: 0.7969 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004628/0.7225, allocations: 329.6 kB / 1.04 GB, free: 0.5703 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002386/0.7228, allocations: 246.3 kB / 1.041 GB, free: 444 kB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000561/0.7234, allocations: 0.6118 MB / 1.041 GB, free: 15.81 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.7234, allocations: 41.88 kB / 1.041 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=28): time 1.473e-06/0.7234, allocations: 0 / 1.041 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of matching and sorting (n=28): time 0.001059/0.7245, allocations: 0.6632 MB / 1.042 GB, free: 15.43 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.7245, allocations: 135.8 kB / 1.042 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/0.7261, allocations: 1.656 MB / 1.044 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.7262, allocations: 32.52 kB / 1.044 GB, free: 14.37 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004209/0.7266, allocations: 0.557 MB / 1.044 GB, free: 13.88 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 6.342e-05/0.7266, allocations: 95.72 kB / 1.044 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.617e-05/0.7268, allocations: 66.02 kB / 1.044 GB, free: 13.76 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.165e-05/0.7268, allocations: 320.9 kB / 1.045 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.727, allocations: 167.1 kB / 1.045 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002702/0.7273, allocations: 285.6 kB / 1.045 GB, free: 13.17 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004235/0.7277, allocations: 432.4 kB / 1.046 GB, free: 12.89 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.7278, allocations: 2.438 kB / 1.046 GB, free: 12.89 MB / 0.7637 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006318/0.7284, allocations: 0.5575 MB / 1.046 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.7284, allocations: 5.281 kB / 1.046 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.7284, allocations: 2.469 kB / 1.046 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.7284, allocations: 5.125 kB / 1.046 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.7287, allocations: 69.5 kB / 1.046 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.7287, allocations: 5.031 kB / 1.046 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004367/0.7291, allocations: 120.8 kB / 1.046 GB, free: 12.48 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/0.7292, allocations: 21.03 kB / 1.046 GB, free: 12.48 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.0003567/0.7295, allocations: 377.8 kB / 1.047 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/0.7297, allocations: 136.9 kB / 1.047 GB, free: 12.14 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004681/0.7302, allocations: 386.5 kB / 1.047 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.7302, allocations: 4.469 kB / 1.047 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.7302, allocations: 0 / 1.047 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.7302, allocations: 4.078 kB / 1.047 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003014/0.7332, allocations: 2.605 MB / 1.05 GB, free: 9.918 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.7332, allocations: 11.19 kB / 1.05 GB, free: 9.914 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.7334, allocations: 50 kB / 1.05 GB, free: 9.902 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.7334, allocations: 8.125 kB / 1.05 GB, free: 9.902 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.7335, allocations: 13.56 kB / 1.05 GB, free: 9.898 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.7335, allocations: 16.19 kB / 1.05 GB, free: 9.891 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.7335, allocations: 11.22 kB / 1.05 GB, free: 9.887 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000608/0.7341, allocations: 0.6216 MB / 1.05 GB, free: 9.371 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003456/0.7345, allocations: 289 kB / 1.051 GB, free: 9.145 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/0.7346, allocations: 20.86 kB / 1.051 GB, free: 9.133 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003603/0.735, allocations: 18.69 kB / 1.051 GB, free: 9.125 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.735, allocations: 37.34 kB / 1.051 GB, free: 9.102 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.221e-05/0.7351, allocations: 19.12 kB / 1.051 GB, free: 9.098 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001317/0.7364, allocations: 1.204 MB / 1.052 GB, free: 8.312 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7364, allocations: 0 / 1.052 GB, free: 8.312 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008963/0.7373, allocations: 375.8 kB / 1.052 GB, free: 7.945 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.002307/0.7396, allocations: 1.78 MB / 1.054 GB, free: 6.098 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0004497/0.7401, allocations: 343.5 kB / 1.054 GB, free: 5.762 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.7401, allocations: 4 kB / 1.054 GB, free: 5.758 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.7403, allocations: 161.7 kB / 1.055 GB, free: 5.602 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003203/0.7435, allocations: 0.8689 MB / 1.055 GB, free: 4.75 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/0.7569, allocations: 11.66 MB / 1.067 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006595/0.7575, allocations: 1.208 MB / 1.068 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0007463/0.7583, allocations: 298.7 kB / 1.068 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004625/0.7587, allocations: 455.3 kB / 1.069 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.7588, allocations: 0 / 1.069 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.975/4.734, allocations: 42.91 MB / 1.111 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003713/4.734, allocations: 246.8 kB / 1.111 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.469/7.203, allocations: 4 kB / 1.111 GB, free: 11.82 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)