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.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00492/0.00492, allocations: 99.64 kB / 15.73 MB, free: 6.031 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.001033/0.001033, allocations: 189.7 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002038/0.002038, allocations: 271 kB / 290.8 MB, free: 1.785 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9126/0.9126, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 100.3 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1627, allocations: 86.98 MB / 0.7659 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.5422/0.7049, allocations: 214.1 MB / 0.9749 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01411/0.719, allocations: 12.15 MB / 0.9868 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/0.7204, allocations: 47.62 kB / 0.9869 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001363/0.7218, allocations: 0.5042 MB / 0.9873 GB, free: 84 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004309/0.7262, allocations: 1.881 MB / 0.9892 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004265/0.7304, allocations: 1.899 MB / 0.991 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003046/0.7335, allocations: 2.384 MB / 0.9934 GB, free: 9.914 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001687/0.7352, allocations: 1.205 MB / 0.9945 GB, free: 8.699 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00152/0.7367, allocations: 0.8483 MB / 0.9954 GB, free: 7.848 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.7378, allocations: 0.6573 MB / 0.996 GB, free: 7.188 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002383/0.738, allocations: 88 kB / 0.9961 GB, free: 7.102 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005134/0.7432, allocations: 2.697 MB / 0.9987 GB, free: 4.398 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0006015/0.7438, allocations: 0.5415 MB / 0.9993 GB, free: 3.855 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001213/0.745, allocations: 0.7231 MB / 1 GB, free: 3.129 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004985/0.75, allocations: 3.12 MB / 1.003 GB, free: 0 / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 2.235e-05/0.75, allocations: 4.047 kB / 1.003 GB, free: 15.99 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7501, allocations: 0 / 1.003 GB, free: 15.99 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.768e-05/0.7501, allocations: 0 / 1.003 GB, free: 15.99 MB / 0.7637 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.002771/0.7529, allocations: 1.733 MB / 1.005 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.7529, allocations: 12.03 kB / 1.005 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002337/0.7532, allocations: 168.6 kB / 1.005 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001689/0.7549, allocations: 381.8 kB / 1.005 GB, free: 13.64 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/0.7564, allocations: 0.9463 MB / 1.006 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.98e-05/0.7565, allocations: 78.03 kB / 1.006 GB, free: 12.58 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.7566, allocations: 100 kB / 1.006 GB, free: 12.48 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001953/0.7586, allocations: 1.513 MB / 1.008 GB, free: 10.85 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.7586, allocations: 4 kB / 1.008 GB, free: 10.85 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-05/0.7587, allocations: 44 kB / 1.008 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-05/0.7588, allocations: 65.47 kB / 1.008 GB, free: 10.74 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.7601, allocations: 1.013 MB / 1.009 GB, free: 9.73 MB / 0.7637 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.005156/0.7652, allocations: 5.816 MB / 1.015 GB, free: 3.602 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004928/0.7657, allocations: 318.2 kB / 1.015 GB, free: 3.254 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002568/0.766, allocations: 247.4 kB / 1.015 GB, free: 3 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006247/0.7666, allocations: 0.7078 MB / 1.016 GB, free: 2.145 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.7667, allocations: 42.48 kB / 1.016 GB, free: 2.094 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=28): time 1.854e-06/0.7667, allocations: 4 kB / 1.016 GB, free: 2.09 MB / 0.7637 GB Notification: Performance of matching and sorting (n=28): time 0.001144/0.7678, allocations: 0.6635 MB / 1.017 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.715e-05/0.7679, allocations: 144.5 kB / 1.017 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/0.7697, allocations: 1.658 MB / 1.018 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.933e-05/0.7697, allocations: 33.7 kB / 1.018 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004403/0.7701, allocations: 0.5463 MB / 1.019 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.76e-05/0.7702, allocations: 98.55 kB / 1.019 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.7703, allocations: 73.62 kB / 1.019 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.352e-05/0.7704, allocations: 321.9 kB / 1.019 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.7706, allocations: 163.9 kB / 1.019 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/0.7709, allocations: 290.7 kB / 1.02 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004493/0.7714, allocations: 429.9 kB / 1.02 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.7714, allocations: 4 kB / 1.02 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006736/0.7721, allocations: 0.5596 MB / 1.021 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.7721, allocations: 4 kB / 1.021 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.7721, allocations: 4 kB / 1.021 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.7721, allocations: 4 kB / 1.021 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.7724, allocations: 55.92 kB / 1.021 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.7724, allocations: 12.23 kB / 1.021 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004518/0.7728, allocations: 106.5 kB / 1.021 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-05/0.7729, allocations: 31.92 kB / 1.021 GB, free: 12.77 MB / 0.7794 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.0003915/0.7733, allocations: 377.5 kB / 1.021 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001948/0.7735, allocations: 138.3 kB / 1.021 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005104/0.774, allocations: 386.5 kB / 1.022 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.774, allocations: 8 kB / 1.022 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.774, allocations: 4.047 kB / 1.022 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.774, allocations: 4 kB / 1.022 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00306/0.7771, allocations: 2.513 MB / 1.024 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.7771, allocations: 8.094 kB / 1.024 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.7773, allocations: 51.92 kB / 1.024 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-06/0.7773, allocations: 11.94 kB / 1.024 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.7774, allocations: 15.94 kB / 1.024 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.999e-06/0.7774, allocations: 15.92 kB / 1.024 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.7774, allocations: 4 kB / 1.024 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006586/0.7781, allocations: 0.6183 MB / 1.025 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003813/0.7785, allocations: 295.1 kB / 1.025 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/0.7786, allocations: 16 kB / 1.025 GB, free: 8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003304/0.779, allocations: 8 kB / 1.025 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.569e-05/0.779, allocations: 39.84 kB / 1.025 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.779, allocations: 16 kB / 1.025 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001356/0.7804, allocations: 1.207 MB / 1.026 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7804, allocations: 0 / 1.026 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001039/0.7815, allocations: 323.8 kB / 1.027 GB, free: 6.418 MB / 0.7794 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.001977/0.7834, allocations: 1.662 MB / 1.028 GB, free: 4.66 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004852/0.7839, allocations: 359.4 kB / 1.029 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.784, allocations: 4.5 kB / 1.029 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001705/0.7841, allocations: 159.7 kB / 1.029 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003052/0.7872, allocations: 0.9276 MB / 1.03 GB, free: 3.25 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/0.7985, allocations: 10.36 MB / 1.04 GB, free: 8.531 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007257/0.7992, allocations: 1.204 MB / 1.041 GB, free: 7.297 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0008203/0.8, allocations: 302.6 kB / 1.041 GB, free: 6.996 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004817/0.8005, allocations: 463.3 kB / 1.042 GB, free: 6.543 MB / 0.795 GB Notification: Performance of SimCode: time 4.81e-07/0.8005, allocations: 0 / 1.042 GB, free: 6.543 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06899/0.8695, allocations: 44.33 MB / 1.085 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.63/10.5, allocations: 12 kB / 1.085 GB, free: 10.72 MB / 0.8419 GB (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 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1)