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.004567/0.004567, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001113/0.001113, allocations: 199.3 kB / 16.68 MB, free: 5.926 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.212/1.212, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002046/0.002046, allocations: 284.5 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8798/0.8798, allocations: 169.2 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 95.84 kB / 0.681 GB, free: 7.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.4195, allocations: 86.98 MB / 0.7659 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Boundary): time 0.613/1.033, allocations: 253.3 MB / 1.013 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01877/1.051, allocations: 20.61 MB / 1.033 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002341/1.054, allocations: 72.72 kB / 1.033 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001756/1.055, allocations: 0.8325 MB / 1.034 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006274/1.062, allocations: 2.911 MB / 1.037 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005633/1.067, allocations: 2.757 MB / 1.04 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003971/1.071, allocations: 3.818 MB / 1.044 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001588/1.073, allocations: 1.298 MB / 1.045 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002553/1.076, allocations: 1.427 MB / 1.046 GB, free: 272 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001297/1.077, allocations: 1.007 MB / 1.047 GB, free: 0 / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001617/1.077, allocations: 109.1 kB / 1.047 GB, free: 0 / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007874/1.085, allocations: 3.958 MB / 1.051 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007825/1.086, allocations: 0.6527 MB / 1.052 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001228/1.087, allocations: 0.9741 MB / 1.053 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.006867/1.094, allocations: 4.188 MB / 1.057 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/1.094, allocations: 0 / 1.057 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.433e-06/1.094, allocations: 0 / 1.057 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.432e-05/1.094, allocations: 1.312 kB / 1.057 GB, free: 13.23 MB / 0.7325 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.003265/1.097, allocations: 2.309 MB / 1.059 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/1.097, allocations: 8.344 kB / 1.059 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001904/1.098, allocations: 189.2 kB / 1.059 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002022/1.1, allocations: 485.7 kB / 1.06 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002138/1.102, allocations: 1.387 MB / 1.061 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.706e-05/1.102, allocations: 93.81 kB / 1.061 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/1.102, allocations: 123.7 kB / 1.061 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/1.104, allocations: 1.716 MB / 1.063 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/1.104, allocations: 5.469 kB / 1.063 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/1.104, allocations: 53.47 kB / 1.063 GB, free: 9.047 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-05/1.104, allocations: 65.38 kB / 1.063 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/1.106, allocations: 1.229 MB / 1.064 GB, free: 8.469 MB / 0.7325 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.006563/1.112, allocations: 7.51 MB / 1.072 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008215/1.113, allocations: 0.6723 MB / 1.072 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006225/1.114, allocations: 0.612 MB / 1.073 GB, free: 448 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001349/1.115, allocations: 1.873 MB / 1.075 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/1.115, allocations: 59.7 kB / 1.075 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=72): time 3.176e-06/1.115, allocations: 0 / 1.075 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of matching and sorting (n=72): time 0.002183/1.117, allocations: 1.392 MB / 1.076 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/1.117, allocations: 297.3 kB / 1.076 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002099/1.12, allocations: 1.884 MB / 1.078 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.498e-05/1.12, allocations: 45.7 kB / 1.078 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006179/1.12, allocations: 0.733 MB / 1.079 GB, free: 9.668 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/1.12, allocations: 249.7 kB / 1.079 GB, free: 9.43 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/1.121, allocations: 126.3 kB / 1.079 GB, free: 9.301 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001099/1.121, allocations: 337.9 kB / 1.08 GB, free: 8.965 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003787/1.121, allocations: 329.1 kB / 1.08 GB, free: 8.641 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006015/1.122, allocations: 0.5612 MB / 1.081 GB, free: 8.035 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009149/1.123, allocations: 0.8601 MB / 1.081 GB, free: 7.141 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/1.123, allocations: 3.938 kB / 1.081 GB, free: 7.137 MB / 0.7481 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001285/1.124, allocations: 1.011 MB / 1.082 GB, free: 6.145 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/1.124, allocations: 8.125 kB / 1.082 GB, free: 6.137 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/1.124, allocations: 4 kB / 1.082 GB, free: 6.133 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.719e-05/1.124, allocations: 10.53 kB / 1.082 GB, free: 6.125 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004101/1.124, allocations: 123.6 kB / 1.083 GB, free: 6.012 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/1.125, allocations: 8 kB / 1.083 GB, free: 6.004 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007371/1.125, allocations: 130.3 kB / 1.083 GB, free: 5.875 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.487e-05/1.125, allocations: 43.98 kB / 1.083 GB, free: 5.832 MB / 0.7481 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.0005543/1.126, allocations: 459.7 kB / 1.083 GB, free: 5.383 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003492/1.126, allocations: 189.7 kB / 1.083 GB, free: 5.195 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001492/1.128, allocations: 1.092 MB / 1.084 GB, free: 4.121 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.211e-05/1.128, allocations: 15.98 kB / 1.084 GB, free: 4.105 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/1.128, allocations: 0 / 1.084 GB, free: 4.105 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/1.128, allocations: 7.984 kB / 1.084 GB, free: 4.098 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01039/1.138, allocations: 8.753 MB / 1.093 GB, free: 10.98 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/1.138, allocations: 12 kB / 1.093 GB, free: 10.96 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003954/1.139, allocations: 148.6 kB / 1.093 GB, free: 10.83 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-05/1.139, allocations: 20 kB / 1.093 GB, free: 10.81 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.633e-05/1.139, allocations: 35.98 kB / 1.093 GB, free: 10.78 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-05/1.139, allocations: 31.67 kB / 1.093 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.208e-05/1.139, allocations: 21.06 kB / 1.093 GB, free: 10.74 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/1.14, allocations: 1.674 MB / 1.095 GB, free: 8.867 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008044/1.141, allocations: 418.3 kB / 1.095 GB, free: 8.438 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002179/1.141, allocations: 31.98 kB / 1.095 GB, free: 8.406 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005895/1.142, allocations: 28 kB / 1.095 GB, free: 8.379 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/1.142, allocations: 108.4 kB / 1.095 GB, free: 8.285 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-05/1.142, allocations: 55.98 kB / 1.095 GB, free: 8.23 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001533/1.144, allocations: 1.316 MB / 1.097 GB, free: 6.895 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.2e-07/1.144, allocations: 0 / 1.097 GB, free: 6.895 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00173/1.146, allocations: 0.5153 MB / 1.097 GB, free: 6.379 MB / 0.7637 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.003935/1.149, allocations: 3.018 MB / 1.1 GB, free: 3.191 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001185/1.151, allocations: 0.8534 MB / 1.101 GB, free: 2.379 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/1.151, allocations: 4 kB / 1.101 GB, free: 2.375 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005452/1.151, allocations: 490 kB / 1.101 GB, free: 1.945 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005114/1.156, allocations: 1.332 MB / 1.103 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/1.173, allocations: 13.85 MB / 1.116 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/1.174, allocations: 1.414 MB / 1.118 GB, free: 0.7969 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001383/1.176, allocations: 485.2 kB / 1.118 GB, free: 328 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007592/1.176, allocations: 0.659 MB / 1.119 GB, free: 15.66 MB / 0.795 GB Notification: Performance of SimCode: time 6.91e-07/1.176, allocations: 0 / 1.119 GB, free: 15.66 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09204/1.268, allocations: 59.58 MB / 1.177 GB, free: 4.855 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/12.11, allocations: 6.094 kB / 1.177 GB, free: 4.852 MB / 0.8419 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)