Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.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.Boundary,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Validation.Boundary,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Boundary",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.001322/0.001322, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.361/1.361, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002447/0.002447, allocations: 286.9 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.037/1.037, allocations: 178.6 MB / 0.5073 GB, free: 4.59 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002613/0.002613, allocations: 94.16 kB / 0.6065 GB, free: 24.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1482, allocations: 89.15 MB / 0.6936 GB, free: 4.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Boundary): time 0.5068/0.655, allocations: 253.3 MB / 0.941 GB, free: 14.07 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.025/0.6801, allocations: 20.6 MB / 0.9611 GB, free: 9.41 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002004/0.6821, allocations: 75.44 kB / 0.9611 GB, free: 9.336 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001927/0.684, allocations: 0.8337 MB / 0.962 GB, free: 8.496 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006466/0.6905, allocations: 2.909 MB / 0.9648 GB, free: 5.574 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005872/0.6964, allocations: 2.744 MB / 0.9675 GB, free: 2.84 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004449/0.7009, allocations: 3.816 MB / 0.9712 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001717/0.7026, allocations: 1.309 MB / 0.9725 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002276/0.7049, allocations: 1.421 MB / 0.9739 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001154/0.7061, allocations: 0.9877 MB / 0.9748 GB, free: 11.28 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001706/0.7063, allocations: 108 kB / 0.9749 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007734/0.714, allocations: 4.185 MB / 0.979 GB, free: 6.977 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006218/0.7146, allocations: 0.6465 MB / 0.9797 GB, free: 6.328 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001031/0.7157, allocations: 0.9795 MB / 0.9806 GB, free: 5.344 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.005553/0.7212, allocations: 4.207 MB / 0.9847 GB, free: 1.125 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.7213, allocations: 0 / 0.9847 GB, free: 1.125 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7213, allocations: 0 / 0.9847 GB, free: 1.125 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.221e-05/0.7213, allocations: 4 kB / 0.9847 GB, free: 1.121 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.002841/0.7241, allocations: 2.283 MB / 0.987 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.7242, allocations: 12.03 kB / 0.987 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002116/0.7244, allocations: 190 kB / 0.9871 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001943/0.7264, allocations: 489 kB / 0.9876 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001724/0.7281, allocations: 1.263 MB / 0.9888 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.419e-05/0.7282, allocations: 94.44 kB / 0.9889 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.7283, allocations: 128 kB / 0.9891 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002318/0.7307, allocations: 1.719 MB / 0.9907 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/0.7307, allocations: 3.938 kB / 0.9907 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-05/0.7308, allocations: 56 kB / 0.9908 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.061e-05/0.7309, allocations: 67.91 kB / 0.9909 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.7326, allocations: 1.215 MB / 0.992 GB, free: 9.359 MB / 0.7169 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.007035/0.7396, allocations: 7.572 MB / 0.9994 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008942/0.7405, allocations: 0.6695 MB / 1 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007267/0.7412, allocations: 0.6186 MB / 1.001 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001663/0.7429, allocations: 1.863 MB / 1.003 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.743, allocations: 54.48 kB / 1.003 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=72): time 2.344e-06/0.743, allocations: 0 / 1.003 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72): time 0.002288/0.7453, allocations: 1.395 MB / 1.004 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/0.7454, allocations: 298.7 kB / 1.004 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002332/0.7478, allocations: 1.888 MB / 1.006 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.832e-05/0.7478, allocations: 41.7 kB / 1.006 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006906/0.7485, allocations: 0.7252 MB / 1.007 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002189/0.7488, allocations: 244.5 kB / 1.007 GB, free: 8.941 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/0.749, allocations: 134.2 kB / 1.007 GB, free: 8.805 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.7491, allocations: 337.8 kB / 1.007 GB, free: 8.469 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004396/0.7496, allocations: 329.1 kB / 1.008 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007105/0.7503, allocations: 0.5586 MB / 1.008 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.7514, allocations: 0.8648 MB / 1.009 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.7514, allocations: 0 / 1.009 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001385/0.7528, allocations: 1.014 MB / 1.01 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.7528, allocations: 4 kB / 1.01 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.7528, allocations: 7.938 kB / 1.01 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.7528, allocations: 8 kB / 1.01 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004171/0.7533, allocations: 119.8 kB / 1.01 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.7533, allocations: 12.06 kB / 1.01 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006359/0.7539, allocations: 130.3 kB / 1.01 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.831e-05/0.754, allocations: 47.98 kB / 1.011 GB, free: 5.277 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (72): * Single equations (assignments): 72 * 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.0005976/0.7546, allocations: 462.1 kB / 1.011 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003656/0.755, allocations: 185.7 kB / 1.011 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001615/0.7566, allocations: 1.08 MB / 1.012 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.189e-05/0.7567, allocations: 16.28 kB / 1.012 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/0.7567, allocations: 0 / 1.012 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.7567, allocations: 11.92 kB / 1.012 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01181/0.7685, allocations: 8.933 MB / 1.021 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/0.7686, allocations: 16 kB / 1.021 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004349/0.769, allocations: 143.7 kB / 1.021 GB, free: 9.93 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-05/0.769, allocations: 24.03 kB / 1.021 GB, free: 9.906 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-05/0.7691, allocations: 39.94 kB / 1.021 GB, free: 9.867 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.467e-05/0.7691, allocations: 28.05 kB / 1.021 GB, free: 9.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-05/0.7692, allocations: 27.88 kB / 1.021 GB, free: 9.812 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/0.7711, allocations: 1.668 MB / 1.023 GB, free: 7.922 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006386/0.7717, allocations: 414.3 kB / 1.023 GB, free: 7.496 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000213/0.772, allocations: 43.92 kB / 1.023 GB, free: 7.453 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005758/0.7726, allocations: 24 kB / 1.023 GB, free: 7.43 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.7727, allocations: 99.55 kB / 1.023 GB, free: 7.332 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.088e-05/0.7728, allocations: 56 kB / 1.023 GB, free: 7.277 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001773/0.7745, allocations: 1.32 MB / 1.025 GB, free: 5.938 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7746, allocations: 0 / 1.025 GB, free: 5.938 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001653/0.7762, allocations: 0.527 MB / 1.025 GB, free: 5.41 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * 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 (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.004282/0.7805, allocations: 3.027 MB / 1.028 GB, free: 2.152 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00129/0.7818, allocations: 0.8602 MB / 1.029 GB, free: 1.297 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.7818, allocations: 0 / 1.029 GB, free: 1.297 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006294/0.7825, allocations: 491.2 kB / 1.029 GB, free: 0.8203 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005772/0.7882, allocations: 1.349 MB / 1.031 GB, free: 15.53 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2545/1.043, allocations: 15.61 MB / 1.046 GB, free: 279.3 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/1.044, allocations: 1.404 MB / 1.047 GB, free: 278.5 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001519/1.045, allocations: 489.1 kB / 1.048 GB, free: 278.5 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000635/1.046, allocations: 0.6555 MB / 1.049 GB, free: 278.5 MB / 0.7637 GB Notification: Performance of SimCode: time 1.123e-06/1.046, allocations: 0.5312 kB / 1.049 GB, free: 278.5 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08959/1.136, allocations: 60.91 MB / 1.108 GB, free: 246.3 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.794/9.93, allocations: 5.812 kB / 1.108 GB, free: 246.3 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary_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_Boundary.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe 2>&1)