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.0007749/0.0007748, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005825/0.005825, allocations: 169.9 kB / 16.26 MB, free: 6.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.332/1.332, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001689/0.001689, allocations: 266.5 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9427/0.9427, allocations: 169.5 MB / 0.5004 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004464/0.0004464, allocations: 17.94 kB / 0.5986 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.1999, allocations: 88.55 MB / 0.6851 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in): time 0.6144/0.8143, allocations: 209.6 MB / 0.8898 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01476/0.8291, allocations: 12.14 MB / 0.9017 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.8307, allocations: 43.62 kB / 0.9017 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.832, allocations: 401.4 kB / 0.9021 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006677/0.8387, allocations: 1.755 MB / 0.9038 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005221/0.8439, allocations: 1.738 MB / 0.9055 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003968/0.8479, allocations: 3.046 MB / 0.9085 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0015/0.8494, allocations: 1.024 MB / 0.9095 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001409/0.8508, allocations: 0.6766 MB / 0.9101 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008519/0.8517, allocations: 0.6534 MB / 0.9108 GB, free: 8.645 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 8.688e-05/0.8518, allocations: 36 kB / 0.9108 GB, free: 8.609 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007619/0.8594, allocations: 3.522 MB / 0.9143 GB, free: 5.074 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006339/0.8601, allocations: 494.5 kB / 0.9147 GB, free: 4.59 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009287/0.861, allocations: 0.6701 MB / 0.9154 GB, free: 3.91 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006303/0.8674, allocations: 3.318 MB / 0.9186 GB, free: 0.582 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.8674, allocations: 4 kB / 0.9186 GB, free: 0.5781 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.136e-06/0.8674, allocations: 4 kB / 0.9186 GB, free: 0.5742 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.522e-05/0.8674, allocations: 0 / 0.9186 GB, free: 0.5742 MB / 0.6231 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.002099/0.8695, allocations: 1.456 MB / 0.9201 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.8696, allocations: 8.031 kB / 0.9201 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00159/0.8712, allocations: 373.8 kB / 0.9204 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.8724, allocations: 0.8878 MB / 0.9213 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.453e-05/0.8725, allocations: 82 kB / 0.9214 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.8726, allocations: 108 kB / 0.9215 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002172/0.8748, allocations: 1.529 MB / 0.923 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/0.8748, allocations: 3.938 kB / 0.923 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-05/0.875, allocations: 48 kB / 0.923 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.83e-05/0.875, allocations: 57.55 kB / 0.9231 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.8765, allocations: 1.029 MB / 0.9241 GB, free: 10.79 MB / 0.6387 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.005895/0.8824, allocations: 5.922 MB / 0.9299 GB, free: 4.559 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005568/0.883, allocations: 318.2 kB / 0.9302 GB, free: 4.211 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002835/0.8833, allocations: 243.4 kB / 0.9304 GB, free: 3.961 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007272/0.884, allocations: 0.7159 MB / 0.9311 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.884, allocations: 46.44 kB / 0.9311 GB, free: 3.043 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=28): time 2.384e-06/0.884, allocations: 0 / 0.9311 GB, free: 3.043 MB / 0.6387 GB Notification: Performance of matching and sorting (n=28): time 0.00138/0.8854, allocations: 0.6558 MB / 0.9318 GB, free: 2.379 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.341e-05/0.8855, allocations: 148.5 kB / 0.9319 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002046/0.8876, allocations: 1.678 MB / 0.9336 GB, free: 0.5156 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.766e-05/0.8876, allocations: 29.7 kB / 0.9336 GB, free: 492 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000497/0.8881, allocations: 0.5622 MB / 0.9341 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.333e-05/0.8882, allocations: 98.5 kB / 0.9342 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.068e-05/0.8883, allocations: 25.72 kB / 0.9343 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.8884, allocations: 321.9 kB / 0.9346 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.8886, allocations: 155.9 kB / 0.9347 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002968/0.8889, allocations: 273.6 kB / 0.935 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004962/0.8894, allocations: 408.1 kB / 0.9354 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.8894, allocations: 0 / 0.9354 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00073/0.8902, allocations: 0.5433 MB / 0.9359 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.8902, allocations: 8 kB / 0.9359 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.8902, allocations: 0 / 0.9359 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.8902, allocations: 4 kB / 0.9359 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.8905, allocations: 56 kB / 0.936 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.8905, allocations: 4.156 kB / 0.936 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005679/0.891, allocations: 114.5 kB / 0.9361 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.532e-05/0.8911, allocations: 36 kB / 0.9361 GB, free: 13.82 MB / 0.6544 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.000447/0.8916, allocations: 382.2 kB / 0.9365 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/0.8918, allocations: 134.3 kB / 0.9366 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005869/0.8924, allocations: 385.1 kB / 0.937 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.8924, allocations: 0 / 0.937 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.8924, allocations: 7.938 kB / 0.937 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.8924, allocations: 11.92 kB / 0.937 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003254/0.8957, allocations: 2.561 MB / 0.9395 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.8957, allocations: 8 kB / 0.9395 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.8959, allocations: 59.8 kB / 0.9395 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.184e-05/0.8959, allocations: 8 kB / 0.9396 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/0.8959, allocations: 15.98 kB / 0.9396 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.71e-05/0.896, allocations: 8 kB / 0.9396 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.896, allocations: 7.938 kB / 0.9396 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006818/0.8967, allocations: 0.6276 MB / 0.9402 GB, free: 9.312 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004011/0.8971, allocations: 303.2 kB / 0.9405 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/0.8972, allocations: 16 kB / 0.9405 GB, free: 8.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000389/0.8976, allocations: 19.98 kB / 0.9405 GB, free: 8.961 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.8977, allocations: 31.86 kB / 0.9405 GB, free: 8.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/0.8977, allocations: 16 kB / 0.9406 GB, free: 8.914 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001537/0.8993, allocations: 1.231 MB / 0.9418 GB, free: 7.688 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8993, allocations: 0 / 0.9418 GB, free: 7.688 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001056/0.9003, allocations: 335.7 kB / 0.9421 GB, free: 7.359 MB / 0.6544 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.00165/0.902, allocations: 0.6229 MB / 0.9427 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005599/0.9026, allocations: 334.6 kB / 0.943 GB, free: 6.414 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.9026, allocations: 384 / 0.943 GB, free: 6.414 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.9028, allocations: 167.6 kB / 0.9432 GB, free: 6.25 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005057/0.9078, allocations: 0.8867 MB / 0.944 GB, free: 5.383 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003024/0.9109, allocations: 2.442 MB / 0.9464 GB, free: 2.824 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008332/0.9117, allocations: 1.209 MB / 0.9476 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009949/0.9127, allocations: 298.7 kB / 0.9479 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.9129, allocations: 79.44 kB / 0.948 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of SimCode: time 6.31e-07/0.9129, allocations: 0 / 0.948 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of Templates: time 0.05063/0.9636, allocations: 29.13 MB / 0.9764 GB, free: 4.48 MB / 0.6856 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)