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.002207/0.002206, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002124/0.002124, allocations: 191 kB / 16.14 MB, free: 6.715 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.434/1.434, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002643/0.002643, allocations: 283.1 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.072/1.072, allocations: 178.6 MB / 0.5068 GB, free: 4.762 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002776/0.002776, allocations: 96.97 kB / 0.6057 GB, free: 25.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1846, allocations: 89.14 MB / 0.6928 GB, free: 4.855 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in): time 0.5762/0.7608, allocations: 212.5 MB / 0.9003 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01727/0.7782, allocations: 12.28 MB / 0.9123 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001931/0.7801, allocations: 47.62 kB / 0.9123 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001512/0.7817, allocations: 409.3 kB / 0.9127 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00489/0.7866, allocations: 1.755 MB / 0.9144 GB, free: 9.094 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004543/0.7912, allocations: 1.738 MB / 0.9161 GB, free: 7.367 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003896/0.7951, allocations: 3.038 MB / 0.9191 GB, free: 4.32 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001708/0.7968, allocations: 1.055 MB / 0.9201 GB, free: 3.246 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/0.7984, allocations: 0.7156 MB / 0.9208 GB, free: 2.527 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009467/0.7993, allocations: 0.7158 MB / 0.9215 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.7994, allocations: 48 kB / 0.9215 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007419/0.8069, allocations: 3.526 MB / 0.925 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007075/0.8076, allocations: 0.5024 MB / 0.9255 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.8087, allocations: 0.6839 MB / 0.9261 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00636/0.815, allocations: 3.35 MB / 0.9294 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.8151, allocations: 0 / 0.9294 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.253e-06/0.8151, allocations: 0 / 0.9294 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.267e-05/0.8151, allocations: 4 kB / 0.9294 GB, free: 9.672 MB / 0.6544 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.002707/0.8178, allocations: 1.746 MB / 0.9311 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.8179, allocations: 16.02 kB / 0.9311 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001837/0.8197, allocations: 373.7 kB / 0.9315 GB, free: 7.488 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.8211, allocations: 0.8878 MB / 0.9324 GB, free: 6.559 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.735e-05/0.8212, allocations: 78.06 kB / 0.9324 GB, free: 6.48 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.8213, allocations: 104 kB / 0.9325 GB, free: 6.379 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002398/0.8238, allocations: 1.527 MB / 0.934 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.8238, allocations: 4 kB / 0.934 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.8239, allocations: 55.98 kB / 0.9341 GB, free: 4.684 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.33e-05/0.824, allocations: 65.47 kB / 0.9341 GB, free: 4.617 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.8256, allocations: 1.021 MB / 0.9351 GB, free: 3.602 MB / 0.6544 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.00714/0.8327, allocations: 5.959 MB / 0.941 GB, free: 13.33 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006419/0.8334, allocations: 322.2 kB / 0.9413 GB, free: 12.98 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003444/0.8337, allocations: 255.4 kB / 0.9415 GB, free: 12.71 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007935/0.8346, allocations: 0.7078 MB / 0.9422 GB, free: 11.86 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.8346, allocations: 42.56 kB / 0.9422 GB, free: 11.81 MB / 0.67 GB Notification: Performance of pre-optimization done (n=28): time 2.204e-06/0.8346, allocations: 3.938 kB / 0.9423 GB, free: 11.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=28): time 0.001396/0.836, allocations: 0.6657 MB / 0.9429 GB, free: 11.13 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.223e-05/0.8361, allocations: 136.5 kB / 0.943 GB, free: 10.97 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002224/0.8383, allocations: 1.686 MB / 0.9447 GB, free: 9.273 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.239e-05/0.8384, allocations: 29.7 kB / 0.9447 GB, free: 9.238 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005672/0.839, allocations: 0.5622 MB / 0.9453 GB, free: 8.672 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 9.434e-05/0.8391, allocations: 102.5 kB / 0.9454 GB, free: 8.57 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.8392, allocations: 65.69 kB / 0.9454 GB, free: 8.5 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.8394, allocations: 314 kB / 0.9457 GB, free: 8.188 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.8396, allocations: 159.9 kB / 0.9459 GB, free: 8.031 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/0.84, allocations: 272.4 kB / 0.9461 GB, free: 7.734 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005524/0.8405, allocations: 408.9 kB / 0.9465 GB, free: 7.305 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.8405, allocations: 0 / 0.9465 GB, free: 7.305 MB / 0.67 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008831/0.8414, allocations: 0.5425 MB / 0.947 GB, free: 6.754 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.8415, allocations: 4 kB / 0.9471 GB, free: 6.75 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.8415, allocations: 4.188 kB / 0.9471 GB, free: 6.746 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.8415, allocations: 8 kB / 0.9471 GB, free: 6.738 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.8418, allocations: 51.92 kB / 0.9471 GB, free: 6.688 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.8418, allocations: 7.938 kB / 0.9471 GB, free: 6.68 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005732/0.8424, allocations: 114.5 kB / 0.9472 GB, free: 6.566 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.236e-05/0.8424, allocations: 16 kB / 0.9472 GB, free: 6.551 MB / 0.67 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.0005172/0.8429, allocations: 390.7 kB / 0.9476 GB, free: 6.16 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002311/0.8432, allocations: 138.2 kB / 0.9477 GB, free: 6.023 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006095/0.8438, allocations: 381 kB / 0.9481 GB, free: 5.629 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.8438, allocations: 4.062 kB / 0.9481 GB, free: 5.625 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.8438, allocations: 4 kB / 0.9481 GB, free: 5.621 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.8438, allocations: 7.938 kB / 0.9481 GB, free: 5.613 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003958/0.8478, allocations: 2.603 MB / 0.9507 GB, free: 2.828 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/0.8478, allocations: 11.94 kB / 0.9507 GB, free: 2.816 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/0.848, allocations: 52.72 kB / 0.9507 GB, free: 2.766 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.848, allocations: 4 kB / 0.9507 GB, free: 2.762 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.679e-05/0.8481, allocations: 24 kB / 0.9508 GB, free: 2.738 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-05/0.8481, allocations: 11.94 kB / 0.9508 GB, free: 2.727 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.8481, allocations: 4 kB / 0.9508 GB, free: 2.723 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007837/0.8489, allocations: 0.6236 MB / 0.9514 GB, free: 2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004521/0.8494, allocations: 295.2 kB / 0.9517 GB, free: 1.691 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001733/0.8495, allocations: 19.89 kB / 0.9517 GB, free: 1.672 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004043/0.85, allocations: 12 kB / 0.9517 GB, free: 1.66 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.85, allocations: 39.84 kB / 0.9517 GB, free: 1.621 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-05/0.8501, allocations: 16 kB / 0.9517 GB, free: 1.605 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001626/0.8517, allocations: 1.223 MB / 0.9529 GB, free: 396 kB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8517, allocations: 3.938 kB / 0.9529 GB, free: 392 kB / 0.67 GB Notification: Performance of remove unused functions: time 0.001063/0.8528, allocations: 343.7 kB / 0.9533 GB, free: 48 kB / 0.67 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.001719/0.8545, allocations: 0.6183 MB / 0.9539 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0006075/0.8551, allocations: 339.5 kB / 0.9542 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.8551, allocations: 4 kB / 0.9542 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.8554, allocations: 157.2 kB / 0.9544 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003721/0.8591, allocations: 0.8715 MB / 0.9552 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003146/0.8622, allocations: 2.431 MB / 0.9576 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009485/0.8632, allocations: 1.209 MB / 0.9588 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000887/0.8641, allocations: 298.7 kB / 0.959 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.8643, allocations: 83.42 kB / 0.9591 GB, free: 9.926 MB / 0.6856 GB Notification: Performance of SimCode: time 7.31e-07/0.8643, allocations: 0 / 0.9591 GB, free: 9.926 MB / 0.6856 GB Notification: Performance of Templates: time 0.05072/0.915, allocations: 29.29 MB / 0.9877 GB, free: 13.04 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)