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.001221/0.001221, allocations: 105 kB / 16.35 MB, free: 6.34 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.001208/0.001208, allocations: 198.2 kB / 17.3 MB, free: 5.879 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.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002123/0.002123, allocations: 288.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.887/0.887, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 91.14 kB / 0.5966 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.156, allocations: 86.97 MB / 0.6816 GB, free: 7.484 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in): time 0.4584/0.6145, allocations: 214.1 MB / 0.8906 GB, free: 8.309 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01206/0.6266, allocations: 12.16 MB / 0.9025 GB, free: 12.12 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008245/0.6274, allocations: 43.69 kB / 0.9026 GB, free: 12.07 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0009473/0.6284, allocations: 0.508 MB / 0.903 GB, free: 11.56 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003414/0.6319, allocations: 1.889 MB / 0.9049 GB, free: 9.668 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003482/0.6353, allocations: 1.9 MB / 0.9067 GB, free: 7.773 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001926/0.6373, allocations: 2.34 MB / 0.909 GB, free: 5.426 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.6385, allocations: 1.235 MB / 0.9102 GB, free: 4.18 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009127/0.6394, allocations: 0.8288 MB / 0.911 GB, free: 3.348 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006114/0.64, allocations: 0.6573 MB / 0.9117 GB, free: 2.688 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001118/0.6402, allocations: 92 kB / 0.9118 GB, free: 2.598 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003889/0.6441, allocations: 2.704 MB / 0.9144 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003913/0.6445, allocations: 0.5415 MB / 0.9149 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005804/0.6451, allocations: 0.7348 MB / 0.9157 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003015/0.6481, allocations: 3.136 MB / 0.9187 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.6481, allocations: 0 / 0.9187 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6481, allocations: 0 / 0.9187 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.402e-05/0.6481, allocations: 0 / 0.9187 GB, free: 11.46 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.001849/0.65, allocations: 1.748 MB / 0.9204 GB, free: 9.656 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/0.65, allocations: 12.03 kB / 0.9204 GB, free: 9.645 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/0.6515, allocations: 373.8 kB / 0.9208 GB, free: 9.277 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.6529, allocations: 0.9618 MB / 0.9217 GB, free: 8.27 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.071e-05/0.6529, allocations: 86.05 kB / 0.9218 GB, free: 8.184 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.653, allocations: 100 kB / 0.9219 GB, free: 8.086 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/0.6548, allocations: 1.529 MB / 0.9234 GB, free: 6.445 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.6549, allocations: 0 / 0.9234 GB, free: 6.445 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.393e-05/0.655, allocations: 44 kB / 0.9235 GB, free: 6.402 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-05/0.655, allocations: 69.47 kB / 0.9235 GB, free: 6.336 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.6563, allocations: 1.025 MB / 0.9245 GB, free: 5.309 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.005064/0.6614, allocations: 5.84 MB / 0.9302 GB, free: 15.15 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004822/0.6618, allocations: 322.2 kB / 0.9305 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002507/0.6621, allocations: 252.9 kB / 0.9308 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005906/0.6627, allocations: 0.7118 MB / 0.9315 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.6627, allocations: 38.56 kB / 0.9315 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=28): time 1.834e-06/0.6628, allocations: 0 / 0.9315 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of matching and sorting (n=28): time 0.001102/0.6639, allocations: 0.6743 MB / 0.9322 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.6639, allocations: 132.5 kB / 0.9323 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/0.6656, allocations: 1.682 MB / 0.9339 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.6657, allocations: 33.7 kB / 0.934 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004189/0.6661, allocations: 0.5584 MB / 0.9345 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 6.496e-05/0.6662, allocations: 94.77 kB / 0.9346 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.673e-05/0.6663, allocations: 69.59 kB / 0.9347 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 8.679e-05/0.6664, allocations: 318 kB / 0.935 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.6665, allocations: 159.8 kB / 0.9351 GB, free: 9.863 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/0.6668, allocations: 268.9 kB / 0.9354 GB, free: 9.57 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004114/0.6672, allocations: 412.9 kB / 0.9358 GB, free: 9.137 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.6673, allocations: 4 kB / 0.9358 GB, free: 9.133 MB / 0.7012 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006302/0.6679, allocations: 0.5386 MB / 0.9363 GB, free: 8.586 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.6679, allocations: 11.94 kB / 0.9363 GB, free: 8.574 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.6679, allocations: 4 kB / 0.9363 GB, free: 8.57 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.6679, allocations: 0 / 0.9363 GB, free: 8.57 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.6681, allocations: 55.92 kB / 0.9364 GB, free: 8.516 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.6682, allocations: 11.92 kB / 0.9364 GB, free: 8.504 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004325/0.6686, allocations: 114.6 kB / 0.9365 GB, free: 8.391 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.785e-05/0.6686, allocations: 19.98 kB / 0.9365 GB, free: 8.371 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.0003655/0.669, allocations: 374.2 kB / 0.9369 GB, free: 7.996 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/0.6692, allocations: 138.3 kB / 0.937 GB, free: 7.859 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004764/0.6697, allocations: 385.3 kB / 0.9374 GB, free: 7.461 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.6697, allocations: 4 kB / 0.9374 GB, free: 7.457 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.6697, allocations: 4 kB / 0.9374 GB, free: 7.453 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.6697, allocations: 7.938 kB / 0.9374 GB, free: 7.445 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002865/0.6726, allocations: 2.513 MB / 0.9398 GB, free: 4.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.6726, allocations: 12.75 kB / 0.9398 GB, free: 4.738 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.6728, allocations: 51.92 kB / 0.9399 GB, free: 4.688 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.6728, allocations: 8 kB / 0.9399 GB, free: 4.68 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.6728, allocations: 12.06 kB / 0.9399 GB, free: 4.668 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/0.6729, allocations: 15.94 kB / 0.9399 GB, free: 4.652 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.6729, allocations: 4 kB / 0.9399 GB, free: 4.648 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005635/0.6734, allocations: 0.6285 MB / 0.9405 GB, free: 3.922 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004094/0.6738, allocations: 299.2 kB / 0.9408 GB, free: 3.609 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.674, allocations: 15.94 kB / 0.9408 GB, free: 3.594 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003302/0.6743, allocations: 12 kB / 0.9409 GB, free: 3.582 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.6744, allocations: 35.84 kB / 0.9409 GB, free: 3.547 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.972e-05/0.6744, allocations: 16 kB / 0.9409 GB, free: 3.531 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001263/0.6757, allocations: 1.227 MB / 0.9421 GB, free: 2.309 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6757, allocations: 0 / 0.9421 GB, free: 2.309 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007747/0.6765, allocations: 327.8 kB / 0.9424 GB, free: 1.988 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.07962/0.7561, allocations: 0.6124 MB / 0.943 GB, free: 1.379 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0007646/0.7569, allocations: 355.4 kB / 0.9434 GB, free: 1.031 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.7569, allocations: 0 / 0.9434 GB, free: 1.031 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002313/0.7572, allocations: 168.5 kB / 0.9435 GB, free: 0.8672 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003801/0.761, allocations: 0.9087 MB / 0.9444 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002507/0.7635, allocations: 2.102 MB / 0.9465 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007056/0.7642, allocations: 1.208 MB / 0.9476 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007897/0.765, allocations: 302.7 kB / 0.9479 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.7652, allocations: 79.44 kB / 0.948 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of SimCode: time 7.21e-07/0.7652, allocations: 0 / 0.948 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of Templates: time 0.2895/1.055, allocations: 30.82 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)