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.005613/0.005614, allocations: 100.3 kB / 15.73 MB, free: 6.484 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.00131/0.00131, allocations: 189 kB / 16.68 MB, free: 6.367 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.248/1.248, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002173/0.002173, allocations: 289.5 kB / 290.8 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9204/0.9204, allocations: 169.3 MB / 0.4983 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 96.17 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1395, allocations: 86.97 MB / 0.7659 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.4908/0.6303, allocations: 214.1 MB / 0.9749 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01238/0.6428, allocations: 12.14 MB / 0.9868 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.6438, allocations: 43.69 kB / 0.9868 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.6448, allocations: 0.5119 MB / 0.9873 GB, free: 108 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00387/0.6488, allocations: 1.96 MB / 0.9893 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003854/0.6526, allocations: 1.936 MB / 0.9912 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002512/0.6552, allocations: 2.38 MB / 0.9935 GB, free: 9.828 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/0.6564, allocations: 1.213 MB / 0.9947 GB, free: 8.605 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001071/0.6575, allocations: 0.8444 MB / 0.9955 GB, free: 7.758 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006052/0.6581, allocations: 0.6496 MB / 0.9961 GB, free: 7.105 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.6582, allocations: 88 kB / 0.9962 GB, free: 7.02 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004638/0.6629, allocations: 2.711 MB / 0.9988 GB, free: 4.301 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.00044/0.6633, allocations: 0.5415 MB / 0.9994 GB, free: 3.758 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0008489/0.6642, allocations: 0.727 MB / 1 GB, free: 3.027 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004463/0.6687, allocations: 3.138 MB / 1.003 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.6687, allocations: 0 / 1.003 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6687, allocations: 0 / 1.003 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.365e-05/0.6688, allocations: 0 / 1.003 GB, free: 15.88 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.002832/0.6716, allocations: 1.777 MB / 1.005 GB, free: 14.04 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.6717, allocations: 11.97 kB / 1.005 GB, free: 14.03 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002596/0.6719, allocations: 176.6 kB / 1.005 GB, free: 13.85 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001681/0.6736, allocations: 374.7 kB / 1.005 GB, free: 13.48 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001464/0.6751, allocations: 0.9589 MB / 1.006 GB, free: 12.48 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.577e-05/0.6752, allocations: 82.02 kB / 1.006 GB, free: 12.4 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.6753, allocations: 96 kB / 1.007 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/0.6771, allocations: 1.509 MB / 1.008 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.6772, allocations: 0 / 1.008 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.545e-05/0.6773, allocations: 48 kB / 1.008 GB, free: 10.63 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.624e-05/0.6773, allocations: 61.47 kB / 1.008 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.6786, allocations: 1.021 MB / 1.009 GB, free: 9.555 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.005192/0.6838, allocations: 5.834 MB / 1.015 GB, free: 3.41 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005095/0.6843, allocations: 319.5 kB / 1.015 GB, free: 3.062 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002606/0.6846, allocations: 251.4 kB / 1.015 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006209/0.6852, allocations: 0.7081 MB / 1.016 GB, free: 1.949 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.6852, allocations: 46.48 kB / 1.016 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=28): time 1.673e-06/0.6852, allocations: 0 / 1.016 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of matching and sorting (n=28): time 0.001191/0.6864, allocations: 0.678 MB / 1.017 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/0.6865, allocations: 136.5 kB / 1.017 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/0.6883, allocations: 1.654 MB / 1.018 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.6884, allocations: 33.7 kB / 1.019 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004327/0.6888, allocations: 0.5504 MB / 1.019 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.129e-05/0.6889, allocations: 103.1 kB / 1.019 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.689, allocations: 73.72 kB / 1.019 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.185e-05/0.6891, allocations: 321.9 kB / 1.02 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.6893, allocations: 159.9 kB / 1.02 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/0.6896, allocations: 286.7 kB / 1.02 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004569/0.6901, allocations: 442.5 kB / 1.02 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.6901, allocations: 0 / 1.02 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007085/0.6908, allocations: 0.5705 MB / 1.021 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.6908, allocations: 9.875 kB / 1.021 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.6908, allocations: 4 kB / 1.021 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.6908, allocations: 8.25 kB / 1.021 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.6911, allocations: 55.91 kB / 1.021 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.6911, allocations: 7.938 kB / 1.021 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004662/0.6916, allocations: 103 kB / 1.021 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.297e-05/0.6916, allocations: 27.98 kB / 1.021 GB, free: 12.56 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.0003847/0.692, allocations: 381.4 kB / 1.022 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/0.6922, allocations: 143.1 kB / 1.022 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005008/0.6927, allocations: 392.7 kB / 1.022 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.6927, allocations: 4 kB / 1.022 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.6927, allocations: 0 / 1.022 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.6927, allocations: 0 / 1.022 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003028/0.6958, allocations: 2.521 MB / 1.024 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.6958, allocations: 4 kB / 1.024 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.696, allocations: 51.86 kB / 1.025 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.696, allocations: 8 kB / 1.025 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.696, allocations: 15.94 kB / 1.025 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.696, allocations: 15.92 kB / 1.025 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.696, allocations: 8 kB / 1.025 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006161/0.6967, allocations: 0.6231 MB / 1.025 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004427/0.6971, allocations: 304 kB / 1.025 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/0.6973, allocations: 8 kB / 1.025 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003765/0.6977, allocations: 16 kB / 1.026 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.6977, allocations: 35.91 kB / 1.026 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/0.6978, allocations: 20 kB / 1.026 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001427/0.6992, allocations: 1.207 MB / 1.027 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6992, allocations: 4 kB / 1.027 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000899/0.7001, allocations: 331.4 kB / 1.027 GB, free: 6.172 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.002143/0.7023, allocations: 1.671 MB / 1.029 GB, free: 4.402 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005126/0.7028, allocations: 375.6 kB / 1.029 GB, free: 4.035 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.7028, allocations: 0 / 1.029 GB, free: 4.035 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.703, allocations: 157.2 kB / 1.029 GB, free: 3.883 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003553/0.7065, allocations: 0.9262 MB / 1.03 GB, free: 2.988 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01248/0.719, allocations: 10.41 MB / 1.04 GB, free: 8.215 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007799/0.7198, allocations: 1.196 MB / 1.041 GB, free: 6.988 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0008423/0.7207, allocations: 302.7 kB / 1.042 GB, free: 6.688 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005106/0.7212, allocations: 455.3 kB / 1.042 GB, free: 6.242 MB / 0.795 GB Notification: Performance of SimCode: time 7.71e-07/0.7212, allocations: 0 / 1.042 GB, free: 6.242 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06545/0.7867, allocations: 43.81 MB / 1.085 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.522/10.31, allocations: 11.88 kB / 1.085 GB, free: 10.94 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1)