Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.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.BoundaryWithX_in,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in") translateModel(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 114.5 kB / 16.37 MB, free: 6.012 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.001614/0.001614, allocations: 193.4 kB / 17.31 MB, free: 5.613 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002127/0.002127, allocations: 289.6 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9535/0.9535, allocations: 169.2 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003359/0.003359, allocations: 102.7 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1774, allocations: 86.98 MB / 0.6816 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in): time 0.5114/0.6889, allocations: 214.1 MB / 0.8906 GB, free: 8.285 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01474/0.7036, allocations: 12.16 MB / 0.9025 GB, free: 12.1 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001402/0.7051, allocations: 43.69 kB / 0.9026 GB, free: 12.05 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.7064, allocations: 0.5119 MB / 0.9031 GB, free: 11.54 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00446/0.7109, allocations: 1.881 MB / 0.9049 GB, free: 9.652 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004505/0.7154, allocations: 1.904 MB / 0.9068 GB, free: 7.754 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002996/0.7184, allocations: 2.352 MB / 0.909 GB, free: 5.395 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001516/0.7199, allocations: 1.239 MB / 0.9103 GB, free: 4.145 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001196/0.7211, allocations: 0.8171 MB / 0.9111 GB, free: 3.324 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007229/0.7219, allocations: 0.6612 MB / 0.9117 GB, free: 2.66 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.722, allocations: 88 kB / 0.9118 GB, free: 2.574 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004816/0.7268, allocations: 2.704 MB / 0.9144 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004742/0.7273, allocations: 0.5453 MB / 0.915 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000707/0.728, allocations: 0.7309 MB / 0.9157 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003952/0.732, allocations: 3.136 MB / 0.9187 GB, free: 11.44 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.732, allocations: 0 / 0.9187 GB, free: 11.44 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.323e-06/0.732, allocations: 0 / 0.9187 GB, free: 11.44 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.931e-05/0.732, allocations: 0 / 0.9187 GB, free: 11.44 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002105/0.7342, allocations: 1.752 MB / 0.9204 GB, free: 9.629 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.7342, allocations: 8.031 kB / 0.9205 GB, free: 9.621 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001613/0.7358, allocations: 373.8 kB / 0.9208 GB, free: 9.254 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00163/0.7375, allocations: 0.9696 MB / 0.9218 GB, free: 8.238 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.171e-05/0.7375, allocations: 74.06 kB / 0.9218 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.7377, allocations: 100 kB / 0.9219 GB, free: 8.066 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/0.7397, allocations: 1.533 MB / 0.9234 GB, free: 6.422 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.7397, allocations: 4 kB / 0.9234 GB, free: 6.418 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.151e-05/0.7398, allocations: 51.98 kB / 0.9235 GB, free: 6.367 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.251e-05/0.7399, allocations: 69.41 kB / 0.9235 GB, free: 6.301 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/0.7412, allocations: 1.017 MB / 0.9245 GB, free: 5.281 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.005671/0.7469, allocations: 5.848 MB / 0.9302 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005423/0.7475, allocations: 322.3 kB / 0.9306 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002823/0.7478, allocations: 251.4 kB / 0.9308 GB, free: 14.51 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006849/0.7485, allocations: 0.7078 MB / 0.9315 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.7485, allocations: 38.56 kB / 0.9315 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=28): time 1.933e-06/0.7485, allocations: 0 / 0.9315 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of matching and sorting (n=28): time 0.001267/0.7498, allocations: 0.668 MB / 0.9322 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.283e-05/0.7499, allocations: 132.5 kB / 0.9323 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001925/0.7518, allocations: 1.69 MB / 0.9339 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.168e-05/0.7518, allocations: 33.7 kB / 0.934 GB, free: 11.03 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004949/0.7523, allocations: 0.5505 MB / 0.9345 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 7.368e-05/0.7524, allocations: 102.5 kB / 0.9346 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.7525, allocations: 77.62 kB / 0.9347 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.861e-05/0.7526, allocations: 318 kB / 0.935 GB, free: 9.977 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.7529, allocations: 151.9 kB / 0.9351 GB, free: 9.828 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003025/0.7532, allocations: 265 kB / 0.9354 GB, free: 9.539 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004636/0.7536, allocations: 408.4 kB / 0.9358 GB, free: 9.109 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.7537, allocations: 4 kB / 0.9358 GB, free: 9.105 MB / 0.7012 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007459/0.7544, allocations: 0.5464 MB / 0.9363 GB, free: 8.551 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.7544, allocations: 8 kB / 0.9363 GB, free: 8.543 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.7544, allocations: 0 / 0.9363 GB, free: 8.543 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.7545, allocations: 4.062 kB / 0.9363 GB, free: 8.539 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.7547, allocations: 55.92 kB / 0.9364 GB, free: 8.484 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.7547, allocations: 4 kB / 0.9364 GB, free: 8.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005116/0.7552, allocations: 118.6 kB / 0.9365 GB, free: 8.363 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-05/0.7553, allocations: 20 kB / 0.9365 GB, free: 8.344 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (30): * Single equations (assignments): 30 * 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.0004358/0.7557, allocations: 378.1 kB / 0.9369 GB, free: 7.965 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/0.756, allocations: 134.3 kB / 0.937 GB, free: 7.832 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000549/0.7565, allocations: 389.3 kB / 0.9374 GB, free: 7.43 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.7565, allocations: 4 kB / 0.9374 GB, free: 7.426 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.7565, allocations: 4 kB / 0.9374 GB, free: 7.422 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.7566, allocations: 7.875 kB / 0.9374 GB, free: 7.414 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00325/0.7598, allocations: 2.505 MB / 0.9398 GB, free: 4.727 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.7598, allocations: 8.75 kB / 0.9398 GB, free: 4.719 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/0.76, allocations: 55.91 kB / 0.9399 GB, free: 4.664 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.76, allocations: 12 kB / 0.9399 GB, free: 4.652 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.7601, allocations: 12 kB / 0.9399 GB, free: 4.641 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.827e-06/0.7601, allocations: 11.94 kB / 0.9399 GB, free: 4.629 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/0.7601, allocations: 11.94 kB / 0.9399 GB, free: 4.617 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006327/0.7607, allocations: 0.6256 MB / 0.9406 GB, free: 3.895 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000484/0.7612, allocations: 295.2 kB / 0.9408 GB, free: 3.586 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/0.7614, allocations: 19.94 kB / 0.9409 GB, free: 3.566 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003595/0.7618, allocations: 8 kB / 0.9409 GB, free: 3.559 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.247e-05/0.7618, allocations: 43.78 kB / 0.9409 GB, free: 3.516 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.333e-05/0.7619, allocations: 23.94 kB / 0.9409 GB, free: 3.492 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001423/0.7633, allocations: 1.219 MB / 0.9421 GB, free: 2.277 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7633, allocations: 0 / 0.9421 GB, free: 2.277 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009005/0.7642, allocations: 323.8 kB / 0.9424 GB, free: 1.961 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (26): * Single equations (assignments): 26 * 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 Backend phase and start with SimCode phase: time 0.001363/0.7656, allocations: 0.6115 MB / 0.943 GB, free: 1.352 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.000524/0.7661, allocations: 347.5 kB / 0.9434 GB, free: 1.012 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.7661, allocations: 4 kB / 0.9434 GB, free: 1.008 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001956/0.7663, allocations: 160.5 kB / 0.9435 GB, free: 0.8516 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003335/0.7697, allocations: 0.9249 MB / 0.9444 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002571/0.7723, allocations: 2.102 MB / 0.9465 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007673/0.7731, allocations: 1.208 MB / 0.9477 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007542/0.7738, allocations: 298.7 kB / 0.9479 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/0.774, allocations: 79.44 kB / 0.948 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of SimCode: time 1.944e-06/0.774, allocations: 4 kB / 0.948 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of Templates: time 0.3126/1.087, allocations: 30.83 MB / 0.9781 GB, free: 243.5 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)