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.001132/0.001132, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001148/0.001148, allocations: 194.7 kB / 16.25 MB, free: 6.629 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.44/1.44, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002386/0.002386, allocations: 286.6 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9791/0.9791, allocations: 169.2 MB / 0.4978 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 88.27 kB / 0.5947 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1887, allocations: 86.98 MB / 0.6796 GB, free: 1.098 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in): time 0.5827/0.7714, allocations: 211.9 MB / 0.8866 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01403/0.7855, allocations: 12.16 MB / 0.8985 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001799/0.7873, allocations: 50.03 kB / 0.8985 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001479/0.7888, allocations: 436 kB / 0.8989 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005412/0.7942, allocations: 1.761 MB / 0.9006 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005021/0.7993, allocations: 1.793 MB / 0.9024 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003459/0.8028, allocations: 2.354 MB / 0.9047 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001414/0.8042, allocations: 1.166 MB / 0.9058 GB, free: 172 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001502/0.8057, allocations: 0.8448 MB / 0.9067 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007818/0.8065, allocations: 0.7198 MB / 0.9074 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.8066, allocations: 92 kB / 0.9074 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005949/0.8126, allocations: 3.251 MB / 0.9106 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006188/0.8132, allocations: 0.5454 MB / 0.9112 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008611/0.8141, allocations: 0.7386 MB / 0.9119 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005657/0.8198, allocations: 3.424 MB / 0.9152 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.8198, allocations: 4 kB / 0.9152 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.512e-06/0.8198, allocations: 0 / 0.9152 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.567e-05/0.8198, allocations: 0 / 0.9152 GB, free: 6.598 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.002121/0.822, allocations: 1.748 MB / 0.9169 GB, free: 4.793 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.822, allocations: 12.03 kB / 0.9169 GB, free: 4.781 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/0.8236, allocations: 377.8 kB / 0.9173 GB, free: 4.41 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.8247, allocations: 0.8917 MB / 0.9182 GB, free: 3.473 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.57e-05/0.8248, allocations: 78.06 kB / 0.9183 GB, free: 3.395 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.8249, allocations: 100 kB / 0.9183 GB, free: 3.297 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/0.8269, allocations: 1.531 MB / 0.9198 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/0.8269, allocations: 4 kB / 0.9198 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-05/0.827, allocations: 47.98 kB / 0.9199 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.731e-05/0.8271, allocations: 69.41 kB / 0.92 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.8284, allocations: 1.017 MB / 0.9209 GB, free: 0.5195 MB / 0.6231 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.005814/0.8342, allocations: 5.957 MB / 0.9268 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005214/0.8347, allocations: 327.3 kB / 0.9271 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002638/0.835, allocations: 259.4 kB / 0.9273 GB, free: 9.629 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006454/0.8357, allocations: 0.7039 MB / 0.928 GB, free: 8.777 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.8357, allocations: 38.56 kB / 0.9281 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=28): time 1.523e-06/0.8357, allocations: 0 / 0.9281 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of matching and sorting (n=28): time 0.001162/0.8369, allocations: 0.6736 MB / 0.9287 GB, free: 8.051 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/0.8369, allocations: 128.5 kB / 0.9288 GB, free: 7.895 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001791/0.8387, allocations: 1.686 MB / 0.9305 GB, free: 6.199 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.8388, allocations: 33.7 kB / 0.9305 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004545/0.8392, allocations: 0.5583 MB / 0.9311 GB, free: 5.598 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.187e-05/0.8393, allocations: 102.5 kB / 0.9312 GB, free: 5.496 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.8394, allocations: 69.62 kB / 0.9312 GB, free: 5.422 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.8396, allocations: 318 kB / 0.9315 GB, free: 5.105 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.8398, allocations: 155.9 kB / 0.9317 GB, free: 4.953 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002989/0.8401, allocations: 270.1 kB / 0.9319 GB, free: 4.66 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004391/0.8405, allocations: 404.9 kB / 0.9323 GB, free: 4.234 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.8405, allocations: 4 kB / 0.9323 GB, free: 4.23 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006715/0.8412, allocations: 0.5503 MB / 0.9329 GB, free: 3.672 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.8412, allocations: 8 kB / 0.9329 GB, free: 3.664 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.8412, allocations: 0 / 0.9329 GB, free: 3.664 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.8413, allocations: 4 kB / 0.9329 GB, free: 3.66 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.8415, allocations: 51.92 kB / 0.9329 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.8415, allocations: 4 kB / 0.9329 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006083/0.8421, allocations: 122.6 kB / 0.933 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/0.8422, allocations: 20 kB / 0.9331 GB, free: 3.465 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.0004627/0.8426, allocations: 378.3 kB / 0.9334 GB, free: 3.086 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002165/0.8429, allocations: 138.2 kB / 0.9335 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006015/0.8435, allocations: 381.2 kB / 0.9339 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.8435, allocations: 8 kB / 0.9339 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.8435, allocations: 0 / 0.9339 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.8435, allocations: 3.938 kB / 0.9339 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003773/0.8473, allocations: 2.616 MB / 0.9365 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.8473, allocations: 7.938 kB / 0.9365 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.8475, allocations: 51.91 kB / 0.9365 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.188e-06/0.8475, allocations: 8 kB / 0.9365 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/0.8476, allocations: 12 kB / 0.9366 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-05/0.8476, allocations: 11.94 kB / 0.9366 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/0.8476, allocations: 11.94 kB / 0.9366 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007033/0.8483, allocations: 0.6159 MB / 0.9372 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003819/0.8487, allocations: 287.3 kB / 0.9375 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001674/0.8489, allocations: 19.92 kB / 0.9375 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000366/0.8492, allocations: 23.91 kB / 0.9375 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.221e-05/0.8493, allocations: 35.78 kB / 0.9375 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-05/0.8494, allocations: 24 kB / 0.9376 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001419/0.8508, allocations: 1.227 MB / 0.9388 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8508, allocations: 0 / 0.9388 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009266/0.8517, allocations: 331.8 kB / 0.9391 GB, free: 12.98 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.001548/0.8533, allocations: 0.6318 MB / 0.9397 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005065/0.8538, allocations: 355 kB / 0.94 GB, free: 12 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.8538, allocations: 384 / 0.94 GB, free: 12 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.854, allocations: 163.6 kB / 0.9402 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003427/0.8574, allocations: 0.918 MB / 0.9411 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002965/0.8604, allocations: 2.426 MB / 0.9434 GB, free: 8.426 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000886/0.8613, allocations: 1.204 MB / 0.9446 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009093/0.8622, allocations: 302.7 kB / 0.9449 GB, free: 6.891 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.8624, allocations: 79.44 kB / 0.945 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of SimCode: time 2.093e-06/0.8624, allocations: 0 / 0.945 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of Templates: time 0.04465/0.9071, allocations: 30.15 MB / 0.9744 GB, free: 9.09 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)