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.005507/0.005507, allocations: 99.41 kB / 15.73 MB, free: 6.004 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.001573/0.001573, allocations: 191.7 kB / 16.67 MB, free: 5.93 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002467/0.002467, allocations: 282.4 kB / 290.8 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9316/0.9316, allocations: 169.2 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002524/0.002524, allocations: 103.8 kB / 0.681 GB, free: 7.461 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3414, allocations: 86.97 MB / 0.7659 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.5178/0.8593, allocations: 214.1 MB / 0.9749 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009251/0.8685, allocations: 12.16 MB / 0.9868 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006753/0.8692, allocations: 48.38 kB / 0.9868 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007809/0.87, allocations: 0.5022 MB / 0.9873 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002813/0.8729, allocations: 1.884 MB / 0.9892 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002759/0.8756, allocations: 1.9 MB / 0.991 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001352/0.877, allocations: 2.384 MB / 0.9934 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009442/0.878, allocations: 1.199 MB / 0.9945 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006746/0.8786, allocations: 0.8275 MB / 0.9953 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005014/0.8792, allocations: 0.6602 MB / 0.996 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.979e-05/0.8793, allocations: 89.03 kB / 0.9961 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002889/0.8822, allocations: 2.694 MB / 0.9987 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002899/0.8825, allocations: 0.5378 MB / 0.9992 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004692/0.8829, allocations: 0.7296 MB / 0.9999 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002249/0.8852, allocations: 3.133 MB / 1.003 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.8852, allocations: 0 / 1.003 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.082e-06/0.8852, allocations: 4.719 kB / 1.003 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.777e-05/0.8852, allocations: 0 / 1.003 GB, free: 1.074 MB / 0.7169 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.0015/0.8867, allocations: 1.781 MB / 1.005 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.883e-05/0.8868, allocations: 11.59 kB / 1.005 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001377/0.8869, allocations: 172 kB / 1.005 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/0.8882, allocations: 378.1 kB / 1.005 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.8893, allocations: 0.9635 MB / 1.006 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.908e-05/0.8893, allocations: 77.31 kB / 1.006 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.424e-05/0.8894, allocations: 102.7 kB / 1.006 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.8909, allocations: 1.507 MB / 1.008 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.8909, allocations: 5.406 kB / 1.008 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-05/0.891, allocations: 45 kB / 1.008 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-05/0.891, allocations: 64.69 kB / 1.008 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.892, allocations: 1.014 MB / 1.009 GB, free: 15.31 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.004665/0.8967, allocations: 5.838 MB / 1.015 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004618/0.8972, allocations: 320.9 kB / 1.015 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002372/0.8974, allocations: 247.3 kB / 1.015 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006459/0.8981, allocations: 0.7102 MB / 1.016 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.8981, allocations: 42.81 kB / 1.016 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=28): time 1.512e-06/0.8981, allocations: 4.75 kB / 1.016 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28): time 0.0009762/0.8991, allocations: 0.6684 MB / 1.017 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.286e-05/0.8992, allocations: 139.2 kB / 1.017 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001384/0.9006, allocations: 1.657 MB / 1.018 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.9006, allocations: 30.95 kB / 1.018 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003327/0.901, allocations: 0.5509 MB / 1.019 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.421e-05/0.901, allocations: 107.7 kB / 1.019 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.712e-05/0.9011, allocations: 67.64 kB / 1.019 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.9013, allocations: 318 kB / 1.019 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.9014, allocations: 161.6 kB / 1.02 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.9017, allocations: 302.8 kB / 1.02 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/0.9021, allocations: 429 kB / 1.02 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.9021, allocations: 4.219 kB / 1.02 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005608/0.9026, allocations: 0.5648 MB / 1.021 GB, free: 9.645 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.9027, allocations: 7.531 kB / 1.021 GB, free: 9.645 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.9027, allocations: 3.594 kB / 1.021 GB, free: 9.645 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.9027, allocations: 3.719 kB / 1.021 GB, free: 9.645 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.9029, allocations: 63.83 kB / 1.021 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.9029, allocations: 9.297 kB / 1.021 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004095/0.9033, allocations: 107.2 kB / 1.021 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.9033, allocations: 22.67 kB / 1.021 GB, free: 9.566 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.0003188/0.9037, allocations: 377.3 kB / 1.021 GB, free: 9.449 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001906/0.9039, allocations: 153.8 kB / 1.022 GB, free: 9.367 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004209/0.9043, allocations: 384.2 kB / 1.022 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.9043, allocations: 6.844 kB / 1.022 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.9043, allocations: 0.8438 kB / 1.022 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.9043, allocations: 1.844 kB / 1.022 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002561/0.9069, allocations: 2.517 MB / 1.024 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.9069, allocations: 8.375 kB / 1.024 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.9071, allocations: 49.2 kB / 1.024 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.9071, allocations: 7.75 kB / 1.024 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.9071, allocations: 9.812 kB / 1.024 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.9071, allocations: 12.59 kB / 1.024 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.9071, allocations: 17.08 kB / 1.024 GB, free: 8.309 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005513/0.9077, allocations: 0.6238 MB / 1.025 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003256/0.908, allocations: 299.8 kB / 1.025 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/0.9082, allocations: 11.72 kB / 1.025 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003489/0.9085, allocations: 12.42 kB / 1.025 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.9086, allocations: 39.14 kB / 1.025 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.9086, allocations: 15.88 kB / 1.025 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001077/0.9097, allocations: 1.21 MB / 1.027 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9097, allocations: 0 / 1.027 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007968/0.9105, allocations: 329.9 kB / 1.027 GB, free: 7.625 MB / 0.7325 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.001806/0.9123, allocations: 1.677 MB / 1.029 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000385/0.9127, allocations: 358.6 kB / 1.029 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.9127, allocations: 2.125 kB / 1.029 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.9128, allocations: 164.8 kB / 1.029 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002862/0.9157, allocations: 0.9191 MB / 1.03 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009659/0.9254, allocations: 10.42 MB / 1.04 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007005/0.9261, allocations: 1.206 MB / 1.041 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006149/0.9267, allocations: 299.7 kB / 1.042 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000478/0.9272, allocations: 459.8 kB / 1.042 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of SimCode: time 3.71e-07/0.9272, allocations: 0 / 1.042 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.563/2.49, allocations: 43.81 MB / 1.085 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/15.32, allocations: 10.27 kB / 1.085 GB, free: 9.035 MB / 0.7794 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)