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.001447/0.001447, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002116/0.002116, allocations: 195 kB / 16.25 MB, free: 6.621 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.319/1.319, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003394/0.003394, allocations: 291 kB / 290.3 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9313/0.9313, allocations: 169.2 MB / 0.4978 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002786/0.002786, allocations: 98.25 kB / 0.5948 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1435, allocations: 86.98 MB / 0.6797 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Boundary): time 0.542/0.6856, allocations: 251.2 MB / 0.9251 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02284/0.7084, allocations: 20.59 MB / 0.9452 GB, free: 7.789 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002128/0.7106, allocations: 83.31 kB / 0.9453 GB, free: 7.707 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001732/0.7124, allocations: 0.695 MB / 0.946 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006172/0.7186, allocations: 2.742 MB / 0.9486 GB, free: 4.258 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005399/0.724, allocations: 2.56 MB / 0.9511 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00371/0.7277, allocations: 3.843 MB / 0.9549 GB, free: 13.86 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001317/0.729, allocations: 1.217 MB / 0.9561 GB, free: 12.62 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002009/0.7311, allocations: 1.437 MB / 0.9575 GB, free: 11.18 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.7321, allocations: 1.089 MB / 0.9585 GB, free: 10.09 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001458/0.7322, allocations: 108 kB / 0.9586 GB, free: 9.984 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007425/0.7397, allocations: 4.77 MB / 0.9633 GB, free: 5.203 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005189/0.7402, allocations: 0.6543 MB / 0.9639 GB, free: 4.547 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008365/0.741, allocations: 0.9795 MB / 0.9649 GB, free: 3.562 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005617/0.7467, allocations: 4.581 MB / 0.9694 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7467, allocations: 0 / 0.9694 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.585e-06/0.7467, allocations: 0 / 0.9694 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.847e-05/0.7467, allocations: 3.938 kB / 0.9694 GB, free: 14.96 MB / 0.6856 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.002564/0.7493, allocations: 2.299 MB / 0.9716 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.7493, allocations: 12.03 kB / 0.9716 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001839/0.7495, allocations: 186 kB / 0.9718 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001985/0.7515, allocations: 489 kB / 0.9723 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/0.7531, allocations: 1.263 MB / 0.9735 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.605e-05/0.7531, allocations: 98.44 kB / 0.9736 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.7533, allocations: 127.9 kB / 0.9737 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002197/0.7555, allocations: 1.731 MB / 0.9754 GB, free: 8.516 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.951e-05/0.7555, allocations: 7.938 kB / 0.9754 GB, free: 8.508 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.711e-05/0.7556, allocations: 52 kB / 0.9755 GB, free: 8.457 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.071e-05/0.7557, allocations: 63.92 kB / 0.9755 GB, free: 8.395 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00164/0.7574, allocations: 1.214 MB / 0.9767 GB, free: 7.18 MB / 0.6856 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.006347/0.7637, allocations: 7.561 MB / 0.9841 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008248/0.7646, allocations: 0.6695 MB / 0.9848 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006704/0.7652, allocations: 0.6213 MB / 0.9854 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001452/0.7667, allocations: 1.872 MB / 0.9872 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.7667, allocations: 50.5 kB / 0.9872 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=72): time 2.555e-06/0.7668, allocations: 4 kB / 0.9872 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72): time 0.00212/0.7689, allocations: 1.395 MB / 0.9886 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.769, allocations: 294.7 kB / 0.9889 GB, free: 9.715 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002051/0.7711, allocations: 1.888 MB / 0.9907 GB, free: 7.789 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.295e-05/0.7711, allocations: 45.7 kB / 0.9908 GB, free: 7.738 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005714/0.7717, allocations: 0.7213 MB / 0.9915 GB, free: 7.008 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.7719, allocations: 240.4 kB / 0.9917 GB, free: 6.77 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/0.7721, allocations: 142.2 kB / 0.9918 GB, free: 6.625 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.7722, allocations: 329.9 kB / 0.9922 GB, free: 6.297 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003873/0.7726, allocations: 333.1 kB / 0.9925 GB, free: 5.969 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006097/0.7732, allocations: 0.5625 MB / 0.993 GB, free: 5.359 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009445/0.7741, allocations: 0.8566 MB / 0.9939 GB, free: 4.453 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.7741, allocations: 4 kB / 0.9939 GB, free: 4.449 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001267/0.7754, allocations: 1.01 MB / 0.9948 GB, free: 3.43 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.7754, allocations: 8 kB / 0.9949 GB, free: 3.422 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.7754, allocations: 4.5 kB / 0.9949 GB, free: 3.418 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.7755, allocations: 4 kB / 0.9949 GB, free: 3.414 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003997/0.7759, allocations: 123.8 kB / 0.995 GB, free: 3.293 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.7759, allocations: 7.938 kB / 0.995 GB, free: 3.285 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006594/0.7766, allocations: 142.9 kB / 0.9951 GB, free: 3.145 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.172e-05/0.7766, allocations: 43.98 kB / 0.9952 GB, free: 3.102 MB / 0.7012 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.0005178/0.7772, allocations: 462.1 kB / 0.9956 GB, free: 2.641 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003503/0.7775, allocations: 189.7 kB / 0.9958 GB, free: 2.453 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001531/0.7791, allocations: 1.087 MB / 0.9969 GB, free: 1.359 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.7791, allocations: 8 kB / 0.9969 GB, free: 1.352 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.7791, allocations: 4 kB / 0.9969 GB, free: 1.348 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.7791, allocations: 7.984 kB / 0.9969 GB, free: 1.34 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01045/0.7896, allocations: 8.941 MB / 1.006 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-05/0.7896, allocations: 16 kB / 1.006 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004052/0.79, allocations: 143.7 kB / 1.006 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-05/0.79, allocations: 24.03 kB / 1.006 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.648e-05/0.7901, allocations: 43.92 kB / 1.006 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.957e-05/0.7901, allocations: 27.92 kB / 1.006 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-05/0.7901, allocations: 27.88 kB / 1.006 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.7918, allocations: 1.652 MB / 1.007 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005217/0.7923, allocations: 422.3 kB / 1.008 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002152/0.7925, allocations: 35.92 kB / 1.008 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006665/0.7932, allocations: 51.77 kB / 1.008 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.7933, allocations: 99.56 kB / 1.008 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.054e-05/0.7934, allocations: 55.98 kB / 1.008 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001523/0.7949, allocations: 1.316 MB / 1.009 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7949, allocations: 0 / 1.009 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001469/0.7964, allocations: 0.5231 MB / 1.01 GB, free: 3.215 MB / 0.7169 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.003905/0.8003, allocations: 3.044 MB / 1.013 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001063/0.8014, allocations: 0.8559 MB / 1.014 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.8014, allocations: 4 kB / 1.014 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005584/0.802, allocations: 486 kB / 1.014 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005278/0.8072, allocations: 1.347 MB / 1.016 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01949/0.8267, allocations: 16.04 MB / 1.031 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009258/0.8277, allocations: 1.402 MB / 1.033 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001333/0.829, allocations: 490.6 kB / 1.033 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000709/0.8297, allocations: 0.6516 MB / 1.034 GB, free: 9.41 MB / 0.7481 GB Notification: Performance of SimCode: time 4.81e-07/0.8297, allocations: 0 / 1.034 GB, free: 9.41 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.309/1.139, allocations: 60.6 MB / 1.093 GB, free: 281.2 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001264/1.139, allocations: 247.3 kB / 1.093 GB, free: 280.9 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.057/4.196, allocations: 0 / 1.093 GB, free: 280.9 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Boundary_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Boundary.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe 2>&1)