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: translateModel(BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in") translateModel(BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001961/0.001961, allocations: 195.3 kB / 16.14 MB, free: 6.637 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.51/1.51, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00253/0.00253, allocations: 289.9 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.099/1.099, allocations: 178.6 MB / 0.5068 GB, free: 4.773 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002713/0.002713, allocations: 98.02 kB / 0.6057 GB, free: 25.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1648, allocations: 89.15 MB / 0.6928 GB, free: 4.863 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.5275/0.6923, allocations: 212.5 MB / 0.9003 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0172/0.7096, allocations: 12.28 MB / 0.9123 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001987/0.7116, allocations: 51.62 kB / 0.9123 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001642/0.7133, allocations: 401.3 kB / 0.9127 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005478/0.7188, allocations: 1.759 MB / 0.9144 GB, free: 9.137 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004821/0.7236, allocations: 1.743 MB / 0.9161 GB, free: 7.402 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004069/0.7277, allocations: 3.069 MB / 0.9191 GB, free: 4.324 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001744/0.7295, allocations: 1.019 MB / 0.9201 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001734/0.7312, allocations: 0.7233 MB / 0.9208 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.7323, allocations: 0.708 MB / 0.9215 GB, free: 1.848 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.7324, allocations: 48 kB / 0.9215 GB, free: 1.801 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007341/0.7398, allocations: 3.53 MB / 0.925 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008127/0.7406, allocations: 0.4986 MB / 0.9255 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00117/0.7418, allocations: 0.6684 MB / 0.9261 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006376/0.7482, allocations: 3.338 MB / 0.9294 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.7482, allocations: 0 / 0.9294 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.462e-06/0.7482, allocations: 0 / 0.9294 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.256e-05/0.7483, allocations: 0 / 0.9294 GB, free: 9.742 MB / 0.6544 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.002757/0.751, allocations: 1.729 MB / 0.9311 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.7511, allocations: 12.03 kB / 0.9311 GB, free: 7.945 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001853/0.753, allocations: 373.8 kB / 0.9314 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/0.7545, allocations: 0.8877 MB / 0.9323 GB, free: 6.645 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.649e-05/0.7545, allocations: 78.03 kB / 0.9324 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.7547, allocations: 96 kB / 0.9325 GB, free: 6.473 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002293/0.757, allocations: 1.509 MB / 0.934 GB, free: 4.852 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.757, allocations: 7.922 kB / 0.934 GB, free: 4.844 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.7571, allocations: 47.98 kB / 0.934 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.34e-05/0.7572, allocations: 65.47 kB / 0.9341 GB, free: 4.73 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/0.7588, allocations: 1.017 MB / 0.9351 GB, free: 3.719 MB / 0.6544 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.006978/0.7658, allocations: 5.925 MB / 0.9408 GB, free: 13.48 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006086/0.7664, allocations: 318.4 kB / 0.9412 GB, free: 13.13 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003339/0.7668, allocations: 259.4 kB / 0.9414 GB, free: 12.87 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000803/0.7676, allocations: 0.7077 MB / 0.9421 GB, free: 12.01 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.7676, allocations: 38.56 kB / 0.9421 GB, free: 11.96 MB / 0.67 GB Notification: Performance of pre-optimization done (n=28): time 2.214e-06/0.7676, allocations: 0 / 0.9421 GB, free: 11.96 MB / 0.67 GB Notification: Performance of matching and sorting (n=28): time 0.001388/0.769, allocations: 0.6719 MB / 0.9428 GB, free: 11.29 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.356e-05/0.7691, allocations: 132.5 kB / 0.9429 GB, free: 11.12 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/0.7713, allocations: 1.662 MB / 0.9445 GB, free: 9.453 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/0.7713, allocations: 29.7 kB / 0.9446 GB, free: 9.418 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000563/0.7719, allocations: 0.5502 MB / 0.9451 GB, free: 8.863 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 8.844e-05/0.772, allocations: 102.7 kB / 0.9452 GB, free: 8.762 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.7721, allocations: 69.69 kB / 0.9453 GB, free: 8.688 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.7723, allocations: 321.9 kB / 0.9456 GB, free: 8.367 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/0.7726, allocations: 155.9 kB / 0.9457 GB, free: 8.215 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003909/0.773, allocations: 298.6 kB / 0.946 GB, free: 7.887 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005795/0.7735, allocations: 430 kB / 0.9464 GB, free: 7.43 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.7735, allocations: 0 / 0.9464 GB, free: 7.43 MB / 0.67 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008483/0.7744, allocations: 0.566 MB / 0.947 GB, free: 6.855 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.7744, allocations: 8.25 kB / 0.947 GB, free: 6.848 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.7744, allocations: 11.94 kB / 0.947 GB, free: 6.836 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.7745, allocations: 4 kB / 0.947 GB, free: 6.832 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.7747, allocations: 55.86 kB / 0.947 GB, free: 6.777 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.7747, allocations: 7.984 kB / 0.947 GB, free: 6.77 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000534/0.7753, allocations: 106.6 kB / 0.9472 GB, free: 6.664 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.841e-05/0.7753, allocations: 23.98 kB / 0.9472 GB, free: 6.641 MB / 0.67 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.0004849/0.7758, allocations: 386.2 kB / 0.9475 GB, free: 6.254 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002297/0.7761, allocations: 134.3 kB / 0.9477 GB, free: 6.121 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005947/0.7767, allocations: 388.8 kB / 0.948 GB, free: 5.723 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.7767, allocations: 0 / 0.948 GB, free: 5.723 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.7767, allocations: 4 kB / 0.948 GB, free: 5.719 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.7767, allocations: 0 / 0.948 GB, free: 5.719 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00393/0.7806, allocations: 2.599 MB / 0.9506 GB, free: 2.938 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.7807, allocations: 4.812 kB / 0.9506 GB, free: 2.934 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/0.7809, allocations: 47.92 kB / 0.9506 GB, free: 2.887 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/0.7809, allocations: 12 kB / 0.9506 GB, free: 2.875 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.7809, allocations: 19.88 kB / 0.9507 GB, free: 2.855 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-05/0.7809, allocations: 15.92 kB / 0.9507 GB, free: 2.84 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/0.781, allocations: 11.94 kB / 0.9507 GB, free: 2.828 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007693/0.7817, allocations: 0.6079 MB / 0.9513 GB, free: 2.121 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004296/0.7822, allocations: 291.3 kB / 0.9516 GB, free: 1.816 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/0.7823, allocations: 15.94 kB / 0.9516 GB, free: 1.801 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003904/0.7827, allocations: 23.89 kB / 0.9516 GB, free: 1.777 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.297e-05/0.7828, allocations: 35.8 kB / 0.9516 GB, free: 1.742 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.089e-05/0.7829, allocations: 27.98 kB / 0.9517 GB, free: 1.715 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001643/0.7845, allocations: 1.207 MB / 0.9528 GB, free: 0.5117 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7845, allocations: 0 / 0.9528 GB, free: 0.5117 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001035/0.7855, allocations: 339.7 kB / 0.9532 GB, free: 184 kB / 0.67 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.001745/0.7873, allocations: 0.6218 MB / 0.9538 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0006279/0.7879, allocations: 347.8 kB / 0.9541 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.788, allocations: 0 / 0.9541 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002261/0.7882, allocations: 168.8 kB / 0.9543 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003732/0.7919, allocations: 0.8708 MB / 0.9551 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003388/0.7953, allocations: 2.4 MB / 0.9575 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009919/0.7963, allocations: 1.193 MB / 0.9586 GB, free: 10.47 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009106/0.7972, allocations: 302.6 kB / 0.9589 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/0.7974, allocations: 79.44 kB / 0.959 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of SimCode: time 5.31e-07/0.7974, allocations: 0 / 0.959 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of Templates: time 0.05073/0.8482, allocations: 29.2 MB / 0.9875 GB, free: 13.29 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1)