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: translateModel(BuildingSystems.Fluid.Sources.Validation.Boundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary") translateModel(BuildingSystems.Fluid.Sources.Validation.Boundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004684/0.004684, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.001074/0.001074, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002144/0.002144, allocations: 290.7 kB / 290.8 MB, free: 1.773 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.005/1.005, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003131/0.003131, allocations: 96.08 kB / 0.6814 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1909, allocations: 86.97 MB / 0.7664 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Boundary): time 0.6045/0.7955, allocations: 253.3 MB / 1.014 GB, free: 5.156 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02682/0.8223, allocations: 20.6 MB / 1.034 GB, free: 0.5 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002731/0.8251, allocations: 71.5 kB / 1.034 GB, free: 440 kB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002476/0.8276, allocations: 0.8337 MB / 1.035 GB, free: 15.59 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.007646/0.8353, allocations: 2.907 MB / 1.038 GB, free: 12.67 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.007509/0.8429, allocations: 2.756 MB / 1.04 GB, free: 9.93 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005279/0.8482, allocations: 3.823 MB / 1.044 GB, free: 6.098 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001865/0.8501, allocations: 1.308 MB / 1.045 GB, free: 4.77 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002793/0.8529, allocations: 1.44 MB / 1.047 GB, free: 3.328 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/0.8541, allocations: 0.9799 MB / 1.048 GB, free: 2.344 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001663/0.8543, allocations: 111.9 kB / 1.048 GB, free: 2.234 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008326/0.8626, allocations: 3.952 MB / 1.052 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0005825/0.8632, allocations: 0.6426 MB / 1.052 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001094/0.8643, allocations: 0.9795 MB / 1.053 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.005707/0.8701, allocations: 4.207 MB / 1.057 GB, free: 8.422 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.8701, allocations: 0 / 1.057 GB, free: 8.422 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8701, allocations: 0 / 1.057 GB, free: 8.422 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.19e-05/0.8701, allocations: 0 / 1.057 GB, free: 8.422 MB / 0.8106 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.002659/0.8728, allocations: 2.303 MB / 1.06 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.8728, allocations: 8.031 kB / 1.06 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001933/0.8748, allocations: 489 kB / 1.06 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/0.8766, allocations: 1.384 MB / 1.061 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.183e-05/0.8767, allocations: 102.4 kB / 1.061 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.8769, allocations: 124 kB / 1.062 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002199/0.8791, allocations: 1.719 MB / 1.063 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/0.8791, allocations: 7.938 kB / 1.063 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.434e-05/0.8792, allocations: 48 kB / 1.063 GB, free: 2 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-05/0.8793, allocations: 67.95 kB / 1.063 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/0.8808, allocations: 1.231 MB / 1.065 GB, free: 0.7031 MB / 0.8106 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.006485/0.8873, allocations: 7.526 MB / 1.072 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008158/0.8882, allocations: 0.6539 MB / 1.073 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006537/0.8888, allocations: 0.6264 MB / 1.073 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001403/0.8902, allocations: 1.863 MB / 1.075 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.8903, allocations: 50.48 kB / 1.075 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=72): time 3.907e-06/0.8903, allocations: 3.984 kB / 1.075 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of matching and sorting (n=72): time 0.002206/0.8925, allocations: 1.391 MB / 1.076 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/0.8926, allocations: 302.7 kB / 1.077 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002093/0.8947, allocations: 1.884 MB / 1.079 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.503e-05/0.8948, allocations: 41.7 kB / 1.079 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005863/0.8954, allocations: 0.7252 MB / 1.079 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/0.8956, allocations: 252.3 kB / 1.08 GB, free: 352 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.8958, allocations: 130.3 kB / 1.08 GB, free: 216 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.8959, allocations: 333.9 kB / 1.08 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003968/0.8963, allocations: 329.2 kB / 1.08 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006202/0.8969, allocations: 0.5673 MB / 1.081 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009618/0.8979, allocations: 0.8567 MB / 1.082 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.8979, allocations: 0 / 1.082 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001297/0.8992, allocations: 1.014 MB / 1.083 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.8993, allocations: 12.12 kB / 1.083 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.8993, allocations: 4 kB / 1.083 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.8993, allocations: 8 kB / 1.083 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004062/0.8997, allocations: 119.8 kB / 1.083 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.8997, allocations: 4 kB / 1.083 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006215/0.9004, allocations: 130.4 kB / 1.083 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.901e-05/0.9004, allocations: 39.98 kB / 1.083 GB, free: 12.7 MB / 0.8419 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.0005484/0.901, allocations: 474 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003581/0.9014, allocations: 193.6 kB / 1.084 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/0.903, allocations: 1.083 MB / 1.085 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/0.903, allocations: 8 kB / 1.085 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.903, allocations: 4.094 kB / 1.085 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.903, allocations: 11.92 kB / 1.085 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01113/0.9141, allocations: 8.764 MB / 1.093 GB, free: 1.656 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.747e-05/0.9142, allocations: 16 kB / 1.093 GB, free: 1.641 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004167/0.9146, allocations: 143.7 kB / 1.093 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.969e-05/0.9146, allocations: 20 kB / 1.093 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-05/0.9147, allocations: 40 kB / 1.093 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-05/0.9147, allocations: 31.86 kB / 1.094 GB, free: 1.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-05/0.9148, allocations: 24.34 kB / 1.094 GB, free: 1.387 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3372/1.252, allocations: 1.662 MB / 1.095 GB, free: 289.9 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008945/1.253, allocations: 411 kB / 1.096 GB, free: 289.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003834/1.253, allocations: 40.19 kB / 1.096 GB, free: 289.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006705/1.254, allocations: 24.75 kB / 1.096 GB, free: 289.8 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/1.254, allocations: 104.9 kB / 1.096 GB, free: 289.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-05/1.254, allocations: 55.25 kB / 1.096 GB, free: 289.8 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001906/1.256, allocations: 1.317 MB / 1.097 GB, free: 289.7 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/1.256, allocations: 2 kB / 1.097 GB, free: 289.7 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00171/1.258, allocations: 0.5145 MB / 1.098 GB, free: 289.7 MB / 0.8419 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.002371/1.26, allocations: 0.9191 MB / 1.098 GB, free: 289.6 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001507/1.262, allocations: 0.8564 MB / 1.099 GB, free: 289.6 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/1.262, allocations: 2.906 kB / 1.099 GB, free: 289.6 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006854/1.262, allocations: 489.6 kB / 1.1 GB, free: 289.4 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005585/1.268, allocations: 1.341 MB / 1.101 GB, free: 289.2 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003345/1.271, allocations: 3.217 MB / 1.104 GB, free: 287.3 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007656/1.272, allocations: 1.41 MB / 1.106 GB, free: 286.5 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.00142/1.274, allocations: 485.5 kB / 1.106 GB, free: 286.4 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002333/1.274, allocations: 122.5 kB / 1.106 GB, free: 286.4 MB / 0.8419 GB Notification: Performance of SimCode: time 1.293e-06/1.274, allocations: 0 / 1.106 GB, free: 286.4 MB / 0.8419 GB Notification: Performance of Templates: time 0.0641/1.338, allocations: 42.78 MB / 1.148 GB, free: 271 MB / 0.8419 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe 2>&1)