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.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.BoundaryWithX_in,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_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.001488/0.001488, allocations: 111.3 kB / 15.34 MB, free: 0.5117 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.00172/0.00172, allocations: 185.9 kB / 16.25 MB, free: 6.137 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.342/1.342, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00206/0.00206, allocations: 286.5 kB / 290.3 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9314/0.9314, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 90.5 kB / 0.5948 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1312, allocations: 86.98 MB / 0.6797 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in): time 0.4484/0.5796, allocations: 211.9 MB / 0.8867 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01261/0.5923, allocations: 12.16 MB / 0.8986 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001196/0.5935, allocations: 48.91 kB / 0.8986 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.5945, allocations: 427.4 kB / 0.899 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003701/0.5983, allocations: 1.77 MB / 0.9008 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003605/0.6019, allocations: 1.783 MB / 0.9025 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001953/0.6038, allocations: 2.356 MB / 0.9048 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.605, allocations: 1.169 MB / 0.9059 GB, free: 20 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009614/0.6059, allocations: 0.8387 MB / 0.9068 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006611/0.6066, allocations: 0.7275 MB / 0.9075 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.6067, allocations: 92 kB / 0.9076 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004424/0.6112, allocations: 3.25 MB / 0.9107 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004008/0.6116, allocations: 0.5416 MB / 0.9113 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005834/0.6122, allocations: 0.7386 MB / 0.912 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003518/0.6157, allocations: 3.42 MB / 0.9153 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.6157, allocations: 0 / 0.9153 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.382e-06/0.6157, allocations: 11.94 kB / 0.9153 GB, free: 6.406 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.272e-05/0.6157, allocations: 0 / 0.9153 GB, free: 6.406 MB / 0.6231 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.001953/0.6177, allocations: 1.748 MB / 0.917 GB, free: 4.602 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.6177, allocations: 12.03 kB / 0.917 GB, free: 4.59 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001853/0.6179, allocations: 168.8 kB / 0.9172 GB, free: 4.414 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001585/0.6195, allocations: 373.8 kB / 0.9176 GB, free: 4.047 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.6206, allocations: 0.8917 MB / 0.9184 GB, free: 3.109 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.619e-05/0.6207, allocations: 82.06 kB / 0.9185 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.6208, allocations: 103.9 kB / 0.9186 GB, free: 2.926 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/0.6227, allocations: 1.531 MB / 0.9201 GB, free: 1.285 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/0.6228, allocations: 7.938 kB / 0.9201 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.435e-05/0.6229, allocations: 47.98 kB / 0.9202 GB, free: 1.23 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.237e-05/0.6229, allocations: 61.48 kB / 0.9202 GB, free: 1.172 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.6242, allocations: 1.025 MB / 0.9212 GB, free: 148 kB / 0.6231 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.005389/0.6296, allocations: 5.963 MB / 0.927 GB, free: 9.871 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005107/0.6301, allocations: 322.1 kB / 0.9273 GB, free: 9.52 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002629/0.6304, allocations: 251.4 kB / 0.9276 GB, free: 9.262 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006129/0.631, allocations: 0.7 MB / 0.9283 GB, free: 8.414 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.6311, allocations: 46.5 kB / 0.9283 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=28): time 1.933e-06/0.6311, allocations: 0 / 0.9283 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of matching and sorting (n=28): time 0.001146/0.6322, allocations: 0.6694 MB / 0.929 GB, free: 7.684 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.6323, allocations: 140.6 kB / 0.9291 GB, free: 7.516 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/0.634, allocations: 1.69 MB / 0.9308 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/0.6341, allocations: 33.7 kB / 0.9308 GB, free: 5.777 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004216/0.6345, allocations: 0.5544 MB / 0.9313 GB, free: 5.219 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.041e-05/0.6346, allocations: 98.55 kB / 0.9314 GB, free: 5.121 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.6347, allocations: 65.7 kB / 0.9315 GB, free: 5.051 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.817e-05/0.6348, allocations: 318 kB / 0.9318 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.635, allocations: 151.9 kB / 0.9319 GB, free: 4.586 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002852/0.6353, allocations: 274.2 kB / 0.9322 GB, free: 4.289 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004366/0.6357, allocations: 404.3 kB / 0.9326 GB, free: 3.863 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.6357, allocations: 0 / 0.9326 GB, free: 3.863 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006584/0.6364, allocations: 0.5426 MB / 0.9331 GB, free: 3.312 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.6364, allocations: 12.03 kB / 0.9331 GB, free: 3.301 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.6364, allocations: 0 / 0.9331 GB, free: 3.301 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.6364, allocations: 4 kB / 0.9331 GB, free: 3.297 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.6366, allocations: 55.91 kB / 0.9332 GB, free: 3.242 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.6367, allocations: 7.938 kB / 0.9332 GB, free: 3.234 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004639/0.6371, allocations: 110.5 kB / 0.9333 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.88e-05/0.6372, allocations: 27.94 kB / 0.9333 GB, free: 3.098 MB / 0.6387 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.0003791/0.6376, allocations: 382.3 kB / 0.9337 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/0.6378, allocations: 138.2 kB / 0.9338 GB, free: 2.578 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004972/0.6383, allocations: 385.1 kB / 0.9342 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.6383, allocations: 0 / 0.9342 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.6383, allocations: 7.938 kB / 0.9342 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.6383, allocations: 8.078 kB / 0.9342 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003179/0.6415, allocations: 2.611 MB / 0.9367 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.361e-06/0.6415, allocations: 8 kB / 0.9368 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.6417, allocations: 52.02 kB / 0.9368 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.004e-06/0.6417, allocations: 8 kB / 0.9368 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.6418, allocations: 12 kB / 0.9368 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.6418, allocations: 15.92 kB / 0.9368 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.6418, allocations: 7.938 kB / 0.9368 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006037/0.6424, allocations: 0.6158 MB / 0.9374 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003326/0.6427, allocations: 291.3 kB / 0.9377 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/0.6429, allocations: 15.94 kB / 0.9377 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003749/0.6433, allocations: 31.83 kB / 0.9378 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.6433, allocations: 27.86 kB / 0.9378 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.927e-05/0.6434, allocations: 20 kB / 0.9378 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001312/0.6447, allocations: 1.223 MB / 0.939 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6447, allocations: 4 kB / 0.939 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008523/0.6455, allocations: 335.8 kB / 0.9393 GB, free: 12.61 MB / 0.6544 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.002226/0.6478, allocations: 1.68 MB / 0.941 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004662/0.6483, allocations: 355.5 kB / 0.9413 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.6483, allocations: 0 / 0.9413 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.6485, allocations: 168.2 kB / 0.9415 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003383/0.6519, allocations: 0.9268 MB / 0.9424 GB, free: 9.426 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01485/0.6667, allocations: 11.79 MB / 0.9539 GB, free: 13.06 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007117/0.6675, allocations: 1.204 MB / 0.9551 GB, free: 11.83 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009768/0.6685, allocations: 302.7 kB / 0.9554 GB, free: 11.53 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004859/0.669, allocations: 463.3 kB / 0.9558 GB, free: 11.07 MB / 0.67 GB Notification: Performance of SimCode: time 4.91e-07/0.669, allocations: 0 / 0.9558 GB, free: 11.07 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06126/0.7302, allocations: 42.9 MB / 0.9977 GB, free: 0.7773 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/0.7304, allocations: 252.1 kB / 0.9979 GB, free: 0.5273 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.469/3.2, allocations: 0 / 0.9979 GB, free: 0.5273 MB / 0.7012 GB (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 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_in.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)