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.001111/0.001111, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001113/0.001113, allocations: 192.5 kB / 16.14 MB, free: 6.734 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.304/1.304, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002014/0.002014, allocations: 282.4 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9213/0.9213, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 89.84 kB / 0.5945 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1837, allocations: 86.99 MB / 0.6794 GB, free: 1.211 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in): time 0.6284/0.8121, allocations: 212.4 MB / 0.8869 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01611/0.8283, allocations: 12.28 MB / 0.8989 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002033/0.8303, allocations: 48.78 kB / 0.8989 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001464/0.8319, allocations: 407.1 kB / 0.8993 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004974/0.8368, allocations: 1.765 MB / 0.9011 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00434/0.8412, allocations: 1.727 MB / 0.9027 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002993/0.8442, allocations: 3.043 MB / 0.9057 GB, free: 104 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001259/0.8455, allocations: 1.052 MB / 0.9067 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.8466, allocations: 0.7273 MB / 0.9074 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000746/0.8473, allocations: 0.7041 MB / 0.9081 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.8474, allocations: 52 kB / 0.9082 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005971/0.8534, allocations: 3.53 MB / 0.9116 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004634/0.8539, allocations: 0.5063 MB / 0.9121 GB, free: 9.699 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006935/0.8546, allocations: 0.6761 MB / 0.9128 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005485/0.8601, allocations: 3.35 MB / 0.9161 GB, free: 5.656 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.8601, allocations: 0 / 0.9161 GB, free: 5.656 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.112e-06/0.8601, allocations: 4 kB / 0.9161 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.925e-05/0.8601, allocations: 0 / 0.9161 GB, free: 5.652 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.002592/0.8627, allocations: 1.748 MB / 0.9178 GB, free: 3.848 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.8628, allocations: 12.03 kB / 0.9178 GB, free: 3.836 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001741/0.8645, allocations: 373.8 kB / 0.9181 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.8658, allocations: 0.8956 MB / 0.919 GB, free: 2.531 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.602e-05/0.8659, allocations: 78 kB / 0.9191 GB, free: 2.453 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.866, allocations: 100 kB / 0.9192 GB, free: 2.355 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002073/0.8681, allocations: 1.529 MB / 0.9207 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.8681, allocations: 7.938 kB / 0.9207 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-05/0.8682, allocations: 44 kB / 0.9207 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.69e-05/0.8683, allocations: 69.47 kB / 0.9208 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.8697, allocations: 1.025 MB / 0.9218 GB, free: 15.57 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.006208/0.8759, allocations: 5.962 MB / 0.9276 GB, free: 9.297 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005861/0.8765, allocations: 318.2 kB / 0.9279 GB, free: 8.949 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002883/0.8768, allocations: 247.4 kB / 0.9282 GB, free: 8.695 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007926/0.8776, allocations: 0.7116 MB / 0.9289 GB, free: 7.836 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/0.8777, allocations: 46.48 kB / 0.9289 GB, free: 7.781 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=28): time 3.256e-06/0.8777, allocations: 0 / 0.9289 GB, free: 7.781 MB / 0.6387 GB Notification: Performance of matching and sorting (n=28): time 0.00146/0.8792, allocations: 0.6711 MB / 0.9296 GB, free: 7.105 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.8793, allocations: 132.5 kB / 0.9297 GB, free: 6.945 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002156/0.8814, allocations: 1.682 MB / 0.9313 GB, free: 5.254 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.507e-05/0.8815, allocations: 33.7 kB / 0.9314 GB, free: 5.215 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005527/0.882, allocations: 0.5622 MB / 0.9319 GB, free: 4.648 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 8.961e-05/0.8821, allocations: 94.58 kB / 0.932 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.8823, allocations: 69.64 kB / 0.9321 GB, free: 4.48 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.8824, allocations: 321.9 kB / 0.9324 GB, free: 4.16 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.8827, allocations: 159.9 kB / 0.9325 GB, free: 4.004 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003104/0.883, allocations: 270.1 kB / 0.9328 GB, free: 3.711 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004629/0.8834, allocations: 408.9 kB / 0.9332 GB, free: 3.281 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.8834, allocations: 4 kB / 0.9332 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007215/0.8842, allocations: 0.5386 MB / 0.9337 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.8842, allocations: 8 kB / 0.9337 GB, free: 2.723 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.8842, allocations: 0 / 0.9337 GB, free: 2.723 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.8842, allocations: 4 kB / 0.9337 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.8845, allocations: 59.91 kB / 0.9338 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.8845, allocations: 4 kB / 0.9338 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005593/0.8851, allocations: 114.7 kB / 0.9339 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.8851, allocations: 20 kB / 0.9339 GB, free: 2.523 MB / 0.6387 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.0004553/0.8856, allocations: 382.2 kB / 0.9343 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002195/0.8858, allocations: 138.2 kB / 0.9344 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006269/0.8864, allocations: 389.4 kB / 0.9348 GB, free: 1.602 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.8865, allocations: 7.938 kB / 0.9348 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.8865, allocations: 0 / 0.9348 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.8865, allocations: 7.922 kB / 0.9348 GB, free: 1.586 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003614/0.8901, allocations: 2.607 MB / 0.9373 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.8901, allocations: 7.938 kB / 0.9373 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.8903, allocations: 51.86 kB / 0.9374 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.8903, allocations: 11.98 kB / 0.9374 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.8904, allocations: 12 kB / 0.9374 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.054e-06/0.8904, allocations: 8 kB / 0.9374 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.8904, allocations: 15.88 kB / 0.9374 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006578/0.8911, allocations: 0.6162 MB / 0.938 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003757/0.8914, allocations: 295.2 kB / 0.9383 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/0.8916, allocations: 15.98 kB / 0.9383 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/0.892, allocations: 19.91 kB / 0.9383 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.46e-05/0.8921, allocations: 39.84 kB / 0.9384 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.8921, allocations: 16 kB / 0.9384 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001458/0.8936, allocations: 1.223 MB / 0.9396 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8936, allocations: 3.938 kB / 0.9396 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001158/0.8947, allocations: 343.7 kB / 0.9399 GB, free: 12.02 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.00167/0.8964, allocations: 0.6181 MB / 0.9405 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005325/0.897, allocations: 347 kB / 0.9409 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.897, allocations: 0 / 0.9409 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.8972, allocations: 161.2 kB / 0.941 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003612/0.9008, allocations: 0.8708 MB / 0.9419 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00292/0.9037, allocations: 2.428 MB / 0.9442 GB, free: 7.52 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007977/0.9045, allocations: 1.209 MB / 0.9454 GB, free: 6.281 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008431/0.9054, allocations: 298.7 kB / 0.9457 GB, free: 5.984 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.9056, allocations: 79.44 kB / 0.9458 GB, free: 5.906 MB / 0.6544 GB Notification: Performance of SimCode: time 4.51e-07/0.9056, allocations: 0 / 0.9458 GB, free: 5.906 MB / 0.6544 GB Notification: Performance of Templates: time 0.04648/0.952, allocations: 29.28 MB / 0.9744 GB, free: 9.02 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)