Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_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.BoundaryWithXi_in,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in") translateModel(BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 114.7 kB / 16.37 MB, free: 5.984 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.001004/0.001004, allocations: 192.6 kB / 17.31 MB, free: 5.602 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.258/1.258, 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.002003/0.002003, allocations: 293.1 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9037/0.9037, allocations: 169.3 MB / 0.4989 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 94.12 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1523, allocations: 86.98 MB / 0.6816 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.4865/0.6389, allocations: 214 MB / 0.8906 GB, free: 8.277 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01434/0.6533, allocations: 12.16 MB / 0.9025 GB, free: 12.09 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001345/0.6547, allocations: 43.69 kB / 0.9026 GB, free: 12.04 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.656, allocations: 0.508 MB / 0.903 GB, free: 11.53 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004428/0.6604, allocations: 1.877 MB / 0.9049 GB, free: 9.648 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004162/0.6646, allocations: 1.911 MB / 0.9067 GB, free: 7.746 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00278/0.6674, allocations: 2.379 MB / 0.9091 GB, free: 5.359 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001532/0.669, allocations: 1.199 MB / 0.9102 GB, free: 4.148 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001363/0.6703, allocations: 0.8288 MB / 0.9111 GB, free: 3.316 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008106/0.6712, allocations: 0.6496 MB / 0.9117 GB, free: 2.664 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.6713, allocations: 95.94 kB / 0.9118 GB, free: 2.57 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004847/0.6762, allocations: 2.704 MB / 0.9144 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004994/0.6767, allocations: 0.5337 MB / 0.9149 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007528/0.6775, allocations: 0.7309 MB / 0.9157 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004026/0.6815, allocations: 3.112 MB / 0.9187 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.6815, allocations: 0 / 0.9187 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6815, allocations: 0 / 0.9187 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.637e-05/0.6815, allocations: 0 / 0.9187 GB, free: 11.47 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002122/0.6837, allocations: 1.733 MB / 0.9204 GB, free: 9.68 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.6837, allocations: 16.02 kB / 0.9204 GB, free: 9.664 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/0.6853, allocations: 373.8 kB / 0.9208 GB, free: 9.297 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/0.6868, allocations: 0.9541 MB / 0.9217 GB, free: 8.297 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.467e-05/0.6869, allocations: 78.03 kB / 0.9218 GB, free: 8.219 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.687, allocations: 96 kB / 0.9219 GB, free: 8.125 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001927/0.689, allocations: 1.516 MB / 0.9233 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.689, allocations: 3.938 kB / 0.9233 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.843e-05/0.6891, allocations: 48 kB / 0.9234 GB, free: 6.445 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.486e-05/0.6892, allocations: 61.47 kB / 0.9234 GB, free: 6.387 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.6905, allocations: 1.017 MB / 0.9244 GB, free: 5.367 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.005849/0.6964, allocations: 5.809 MB / 0.9301 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000537/0.6969, allocations: 323.9 kB / 0.9304 GB, free: 14.9 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/0.6972, allocations: 251.5 kB / 0.9307 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006685/0.6979, allocations: 0.7039 MB / 0.9313 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.698, allocations: 42.55 kB / 0.9314 GB, free: 13.74 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=28): time 2.374e-06/0.698, allocations: 0 / 0.9314 GB, free: 13.74 MB / 0.7012 GB Notification: Performance of matching and sorting (n=28): time 0.001254/0.6992, allocations: 0.671 MB / 0.932 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.6993, allocations: 136.5 kB / 0.9322 GB, free: 12.9 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001879/0.7012, allocations: 1.661 MB / 0.9338 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.225e-05/0.7012, allocations: 33.7 kB / 0.9338 GB, free: 11.19 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004819/0.7017, allocations: 0.5502 MB / 0.9344 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 6.97e-05/0.7018, allocations: 98.77 kB / 0.9345 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.7019, allocations: 73.59 kB / 0.9345 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.768e-05/0.702, allocations: 317.9 kB / 0.9348 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.7023, allocations: 163.9 kB / 0.935 GB, free: 9.98 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003138/0.7026, allocations: 290.7 kB / 0.9353 GB, free: 9.66 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004867/0.7031, allocations: 442 kB / 0.9357 GB, free: 9.191 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.7031, allocations: 0 / 0.9357 GB, free: 9.191 MB / 0.7012 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007363/0.7038, allocations: 0.562 MB / 0.9362 GB, free: 8.621 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.7039, allocations: 10.75 kB / 0.9362 GB, free: 8.613 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.7039, allocations: 4 kB / 0.9362 GB, free: 8.609 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.7039, allocations: 4 kB / 0.9363 GB, free: 8.605 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.7041, allocations: 59.91 kB / 0.9363 GB, free: 8.547 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.7041, allocations: 4 kB / 0.9363 GB, free: 8.543 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004955/0.7046, allocations: 102.6 kB / 0.9364 GB, free: 8.441 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.286e-05/0.7047, allocations: 23.98 kB / 0.9364 GB, free: 8.418 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (32): * Single equations (assignments): 32 * 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.0004084/0.7051, allocations: 377.6 kB / 0.9368 GB, free: 8.039 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/0.7053, allocations: 138.2 kB / 0.9369 GB, free: 7.902 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005418/0.7059, allocations: 393.2 kB / 0.9373 GB, free: 7.496 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.7059, allocations: 0 / 0.9373 GB, free: 7.496 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.7059, allocations: 4 kB / 0.9373 GB, free: 7.492 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.7059, allocations: 0 / 0.9373 GB, free: 7.492 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003257/0.7092, allocations: 2.509 MB / 0.9398 GB, free: 4.801 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.7092, allocations: 4 kB / 0.9398 GB, free: 4.797 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.7094, allocations: 51.86 kB / 0.9398 GB, free: 4.746 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.7094, allocations: 11.94 kB / 0.9398 GB, free: 4.734 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/0.7094, allocations: 15.94 kB / 0.9398 GB, free: 4.719 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/0.7094, allocations: 15.92 kB / 0.9398 GB, free: 4.703 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-06/0.7095, allocations: 11.94 kB / 0.9399 GB, free: 4.691 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006505/0.7101, allocations: 0.6133 MB / 0.9405 GB, free: 3.98 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004733/0.7106, allocations: 299.1 kB / 0.9407 GB, free: 3.668 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/0.7108, allocations: 19.94 kB / 0.9408 GB, free: 3.648 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003547/0.7111, allocations: 12 kB / 0.9408 GB, free: 3.637 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.7112, allocations: 31.84 kB / 0.9408 GB, free: 3.605 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.203e-05/0.7112, allocations: 20 kB / 0.9408 GB, free: 3.586 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001384/0.7126, allocations: 1.211 MB / 0.942 GB, free: 2.379 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7126, allocations: 0 / 0.942 GB, free: 2.379 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009397/0.7136, allocations: 323.8 kB / 0.9423 GB, free: 2.062 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.00132/0.7149, allocations: 0.603 MB / 0.9429 GB, free: 1.457 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0005367/0.7154, allocations: 371.5 kB / 0.9433 GB, free: 1.094 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.7154, allocations: 0 / 0.9433 GB, free: 1.094 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001857/0.7156, allocations: 157.2 kB / 0.9434 GB, free: 0.9414 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003281/0.7189, allocations: 0.9275 MB / 0.9443 GB, free: 44 kB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/0.7216, allocations: 2.067 MB / 0.9463 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007679/0.7224, allocations: 1.201 MB / 0.9475 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008195/0.7232, allocations: 302.6 kB / 0.9478 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.7234, allocations: 83.42 kB / 0.9479 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of SimCode: time 8.41e-07/0.7234, allocations: 3.938 kB / 0.9479 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of Templates: time 0.2784/1.002, allocations: 30.73 MB / 0.9779 GB, free: 243.6 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1)