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.00104/0.00104, 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.001111/0.001112, allocations: 192.2 kB / 16.13 MB, free: 6.719 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.241/1.241, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001984/0.001984, allocations: 284.9 kB / 290.2 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.886/0.886, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 96.69 kB / 0.5946 GB, free: 28.42 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1336, allocations: 86.97 MB / 0.6795 GB, free: 1.105 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Boundary): time 0.4698/0.6035, allocations: 252.1 MB / 0.9257 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02305/0.6266, allocations: 20.78 MB / 0.946 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002159/0.6287, allocations: 83.31 kB / 0.9461 GB, free: 6.871 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001586/0.6304, allocations: 0.652 MB / 0.9467 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005608/0.636, allocations: 2.741 MB / 0.9494 GB, free: 3.465 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005091/0.6411, allocations: 2.499 MB / 0.9518 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004255/0.6454, allocations: 5.075 MB / 0.9568 GB, free: 11.89 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/0.6466, allocations: 1.066 MB / 0.9578 GB, free: 10.8 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001653/0.6482, allocations: 1.244 MB / 0.959 GB, free: 9.551 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.6493, allocations: 1.065 MB / 0.9601 GB, free: 8.48 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.6494, allocations: 56 kB / 0.9601 GB, free: 8.426 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007577/0.657, allocations: 5.054 MB / 0.9651 GB, free: 3.359 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005236/0.6575, allocations: 0.6035 MB / 0.9657 GB, free: 2.754 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007694/0.6583, allocations: 0.9131 MB / 0.9666 GB, free: 1.836 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004952/0.6633, allocations: 4.476 MB / 0.9709 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.6633, allocations: 3.938 kB / 0.9709 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of FrontEnd: time 8.52e-07/0.6633, allocations: 0 / 0.9709 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.522e-05/0.6633, allocations: 0 / 0.9709 GB, free: 13.34 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.002721/0.6661, allocations: 2.299 MB / 0.9732 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.6661, allocations: 8.031 kB / 0.9732 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001841/0.6663, allocations: 194 kB / 0.9734 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001922/0.6682, allocations: 489 kB / 0.9738 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001775/0.67, allocations: 1.251 MB / 0.9751 GB, free: 8.996 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-05/0.6701, allocations: 98.38 kB / 0.9752 GB, free: 8.898 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.6702, allocations: 124 kB / 0.9753 GB, free: 8.777 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003026/0.6733, allocations: 1.731 MB / 0.977 GB, free: 6.906 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.261e-05/0.6733, allocations: 3.938 kB / 0.977 GB, free: 6.902 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001565/0.6735, allocations: 56 kB / 0.977 GB, free: 6.848 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001095/0.6736, allocations: 59.92 kB / 0.9771 GB, free: 6.789 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002386/0.676, allocations: 1.219 MB / 0.9783 GB, free: 5.57 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.009958/0.686, allocations: 7.572 MB / 0.9857 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.6873, allocations: 0.6666 MB / 0.9863 GB, free: 12.85 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/0.6885, allocations: 0.6253 MB / 0.9869 GB, free: 12.19 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002229/0.6907, allocations: 1.867 MB / 0.9887 GB, free: 9.918 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.38e-05/0.6908, allocations: 50.5 kB / 0.9888 GB, free: 9.859 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=72): time 3.787e-06/0.6908, allocations: 0 / 0.9888 GB, free: 9.859 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72): time 0.003453/0.6943, allocations: 1.391 MB / 0.9901 GB, free: 8.461 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002197/0.6945, allocations: 298.7 kB / 0.9904 GB, free: 8.102 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003464/0.698, allocations: 1.888 MB / 0.9923 GB, free: 6.176 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.164e-05/0.6981, allocations: 41.7 kB / 0.9923 GB, free: 6.129 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000926/0.699, allocations: 0.7252 MB / 0.993 GB, free: 5.395 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.00027/0.6993, allocations: 240.5 kB / 0.9933 GB, free: 5.156 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002889/0.6996, allocations: 134.2 kB / 0.9934 GB, free: 5.02 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.6998, allocations: 337.9 kB / 0.9937 GB, free: 4.684 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000633/0.7004, allocations: 325.1 kB / 0.994 GB, free: 4.363 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009776/0.7014, allocations: 0.5625 MB / 0.9946 GB, free: 3.754 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009464/0.7024, allocations: 0.8683 MB / 0.9954 GB, free: 2.836 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.7024, allocations: 3.938 kB / 0.9954 GB, free: 2.832 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001258/0.7036, allocations: 1.006 MB / 0.9964 GB, free: 1.816 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.7037, allocations: 8 kB / 0.9964 GB, free: 1.809 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.7037, allocations: 4 kB / 0.9964 GB, free: 1.805 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.7037, allocations: 11.94 kB / 0.9964 GB, free: 1.793 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003834/0.7041, allocations: 119.8 kB / 0.9965 GB, free: 1.676 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.7041, allocations: 4 kB / 0.9965 GB, free: 1.672 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006692/0.7048, allocations: 146.4 kB / 0.9967 GB, free: 1.527 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.861e-05/0.7049, allocations: 40 kB / 0.9967 GB, free: 1.488 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.0005088/0.7054, allocations: 458.1 kB / 0.9972 GB, free: 1.031 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003383/0.7057, allocations: 189.7 kB / 0.9973 GB, free: 0.8438 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.7073, allocations: 1.091 MB / 0.9984 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/0.7073, allocations: 12 kB / 0.9984 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.7074, allocations: 0 / 0.9984 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.7074, allocations: 7.984 kB / 0.9984 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01113/0.7185, allocations: 8.938 MB / 1.007 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-05/0.7185, allocations: 16 kB / 1.007 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003839/0.7189, allocations: 143.9 kB / 1.007 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.516e-05/0.7189, allocations: 20 kB / 1.007 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.13e-05/0.719, allocations: 47.92 kB / 1.007 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.911e-05/0.719, allocations: 31.86 kB / 1.007 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.354e-05/0.7191, allocations: 23.88 kB / 1.007 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.7208, allocations: 1.656 MB / 1.009 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000558/0.7214, allocations: 422.2 kB / 1.009 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001996/0.7216, allocations: 35.94 kB / 1.009 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006243/0.7222, allocations: 43.83 kB / 1.01 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.7224, allocations: 111.5 kB / 1.01 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.749e-05/0.7224, allocations: 55.98 kB / 1.01 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001615/0.7241, allocations: 1.316 MB / 1.011 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7241, allocations: 3.938 kB / 1.011 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001452/0.7255, allocations: 0.5308 MB / 1.011 GB, free: 1.586 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.003989/0.7295, allocations: 3.035 MB / 1.014 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001112/0.7307, allocations: 0.8131 MB / 1.015 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.7307, allocations: 4 kB / 1.015 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007048/0.7314, allocations: 485.7 kB / 1.016 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005068/0.7365, allocations: 1.258 MB / 1.017 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02064/0.7571, allocations: 16.05 MB / 1.033 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009993/0.7581, allocations: 1.406 MB / 1.034 GB, free: 9.02 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001341/0.7595, allocations: 490.5 kB / 1.034 GB, free: 8.535 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007512/0.7602, allocations: 0.6555 MB / 1.035 GB, free: 7.879 MB / 0.7481 GB Notification: Performance of SimCode: time 8.51e-07/0.7603, allocations: 0 / 1.035 GB, free: 7.879 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3094/1.07, allocations: 59.3 MB / 1.093 GB, free: 279 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001437/1.07, allocations: 247.3 kB / 1.093 GB, free: 278.7 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.841/3.911, allocations: 3.375 kB / 1.093 GB, free: 278.7 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)