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.00111/0.00111, allocations: 105 kB / 15.98 MB, free: 6.355 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.0009866/0.0009868, allocations: 195.6 kB / 16.91 MB, free: 6.188 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.236/1.236, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001999/0.001999, allocations: 285.1 kB / 291 MB, free: 14.73 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.877/0.877, allocations: 169.2 MB / 0.4985 GB, free: 4.754 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 94.25 kB / 0.5953 GB, free: 4.496 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1604, allocations: 86.98 MB / 0.6803 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in): time 0.486/0.6464, allocations: 211.9 MB / 0.8872 GB, free: 9.207 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01446/0.6609, allocations: 12.16 MB / 0.8991 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00178/0.6628, allocations: 47.62 kB / 0.8992 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001538/0.6643, allocations: 441.3 kB / 0.8996 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005049/0.6694, allocations: 1.77 MB / 0.9013 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004816/0.6742, allocations: 1.773 MB / 0.903 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003029/0.6773, allocations: 2.356 MB / 0.9053 GB, free: 6.633 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001659/0.679, allocations: 1.168 MB / 0.9065 GB, free: 5.465 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001582/0.6806, allocations: 0.8366 MB / 0.9073 GB, free: 4.625 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.6817, allocations: 0.7197 MB / 0.908 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002439/0.6819, allocations: 92 kB / 0.9081 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005775/0.6877, allocations: 3.257 MB / 0.9113 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006503/0.6884, allocations: 0.5455 MB / 0.9118 GB, free: 0 / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001231/0.6897, allocations: 0.7388 MB / 0.9125 GB, free: 15.25 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003687/0.6934, allocations: 2.487 MB / 0.915 GB, free: 12.77 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.6934, allocations: 4 kB / 0.915 GB, free: 12.76 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.075e-06/0.6934, allocations: 4 kB / 0.915 GB, free: 12.76 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.916e-05/0.6935, allocations: 0 / 0.915 GB, free: 12.76 MB / 0.67 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.002747/0.6962, allocations: 1.744 MB / 0.9167 GB, free: 10.96 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.6963, allocations: 12.03 kB / 0.9167 GB, free: 10.95 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00169/0.698, allocations: 373.8 kB / 0.917 GB, free: 10.58 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.6992, allocations: 0.8956 MB / 0.9179 GB, free: 9.637 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.602e-05/0.6993, allocations: 74.06 kB / 0.918 GB, free: 9.562 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.6994, allocations: 104 kB / 0.9181 GB, free: 9.461 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002016/0.7014, allocations: 1.525 MB / 0.9196 GB, free: 7.824 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/0.7014, allocations: 7.938 kB / 0.9196 GB, free: 7.816 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.733e-05/0.7015, allocations: 44 kB / 0.9196 GB, free: 7.773 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.794e-05/0.7016, allocations: 61.48 kB / 0.9197 GB, free: 7.715 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.7029, allocations: 1.029 MB / 0.9207 GB, free: 6.684 MB / 0.67 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.00598/0.7089, allocations: 5.967 MB / 0.9265 GB, free: 416 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005373/0.7095, allocations: 322.2 kB / 0.9268 GB, free: 56 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.7097, allocations: 247.4 kB / 0.927 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006326/0.7104, allocations: 0.7158 MB / 0.9277 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.7104, allocations: 38.5 kB / 0.9278 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=28): time 2.425e-06/0.7104, allocations: 0 / 0.9278 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of matching and sorting (n=28): time 0.001238/0.7117, allocations: 0.6767 MB / 0.9284 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.277e-05/0.7117, allocations: 132.5 kB / 0.9286 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/0.7135, allocations: 1.686 MB / 0.9302 GB, free: 12.35 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.922e-05/0.7136, allocations: 33.7 kB / 0.9303 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000444/0.714, allocations: 0.5544 MB / 0.9308 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 6.871e-05/0.7141, allocations: 90.66 kB / 0.9309 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.7142, allocations: 69.59 kB / 0.9309 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.755e-05/0.7143, allocations: 322 kB / 0.9313 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.7145, allocations: 155.9 kB / 0.9314 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002851/0.7148, allocations: 270.4 kB / 0.9317 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004461/0.7153, allocations: 410.4 kB / 0.9321 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.7153, allocations: 0 / 0.9321 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007003/0.716, allocations: 0.5393 MB / 0.9326 GB, free: 9.848 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.716, allocations: 8 kB / 0.9326 GB, free: 9.84 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.716, allocations: 0 / 0.9326 GB, free: 9.84 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.7161, allocations: 4 kB / 0.9326 GB, free: 9.836 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.7163, allocations: 55.92 kB / 0.9326 GB, free: 9.781 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.7163, allocations: 11.92 kB / 0.9327 GB, free: 9.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005437/0.7169, allocations: 114.7 kB / 0.9328 GB, free: 9.656 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.24e-05/0.7169, allocations: 27.97 kB / 0.9328 GB, free: 9.629 MB / 0.6856 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.0004247/0.7173, allocations: 373.6 kB / 0.9331 GB, free: 9.254 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001947/0.7175, allocations: 138.2 kB / 0.9333 GB, free: 9.117 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005424/0.7181, allocations: 387 kB / 0.9336 GB, free: 8.719 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.7181, allocations: 4 kB / 0.9337 GB, free: 8.715 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.7181, allocations: 0 / 0.9337 GB, free: 8.715 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.7181, allocations: 3.938 kB / 0.9337 GB, free: 8.711 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003351/0.7215, allocations: 2.619 MB / 0.9362 GB, free: 5.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.7215, allocations: 11.92 kB / 0.9362 GB, free: 5.898 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/0.7217, allocations: 47.92 kB / 0.9363 GB, free: 5.852 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/0.7217, allocations: 8 kB / 0.9363 GB, free: 5.844 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.7217, allocations: 15.94 kB / 0.9363 GB, free: 5.828 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.141e-05/0.7218, allocations: 11.94 kB / 0.9363 GB, free: 5.816 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.7218, allocations: 8 kB / 0.9363 GB, free: 5.809 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006714/0.7224, allocations: 0.6232 MB / 0.9369 GB, free: 5.086 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004169/0.7229, allocations: 291.3 kB / 0.9372 GB, free: 4.781 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/0.7231, allocations: 19.94 kB / 0.9372 GB, free: 4.762 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004345/0.7235, allocations: 19.91 kB / 0.9372 GB, free: 4.742 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.7235, allocations: 35.84 kB / 0.9373 GB, free: 4.707 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-05/0.7236, allocations: 20 kB / 0.9373 GB, free: 4.688 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001441/0.725, allocations: 1.227 MB / 0.9385 GB, free: 3.465 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.61e-07/0.725, allocations: 0 / 0.9385 GB, free: 3.465 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001076/0.7261, allocations: 339.8 kB / 0.9388 GB, free: 3.133 MB / 0.6856 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.00175/0.7279, allocations: 0.6283 MB / 0.9394 GB, free: 2.508 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0006287/0.7285, allocations: 348.8 kB / 0.9398 GB, free: 2.168 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.7285, allocations: 4.125 kB / 0.9398 GB, free: 2.164 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.7287, allocations: 159.7 kB / 0.9399 GB, free: 2.008 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003702/0.7325, allocations: 0.9302 MB / 0.9408 GB, free: 1.117 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00318/0.7356, allocations: 2.49 MB / 0.9433 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000779/0.7365, allocations: 1.212 MB / 0.9444 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002292/0.7367, allocations: 83.44 kB / 0.9445 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of SimCode: time 8.32e-07/0.7367, allocations: 3.938 kB / 0.9445 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of Templates: time 0.0346/0.7713, allocations: 24.84 MB / 0.9688 GB, free: 4.562 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)