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.001496/0.001496, allocations: 109.3 kB / 15.7 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 197.4 kB / 16.63 MB, free: 6.609 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.377/1.377, allocations: 222.9 MB / 240.3 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003387/0.003387, allocations: 279 kB / 290.8 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.981/0.981, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002931/0.002932, allocations: 95.84 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2029, allocations: 86.98 MB / 0.7663 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in): time 0.6523/0.8552, allocations: 214.1 MB / 0.9754 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01505/0.8703, allocations: 12.15 MB / 0.9872 GB, free: 368 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001773/0.8721, allocations: 47.62 kB / 0.9873 GB, free: 320 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001829/0.8739, allocations: 0.5158 MB / 0.9878 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005477/0.8795, allocations: 1.877 MB / 0.9896 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004957/0.8845, allocations: 1.906 MB / 0.9915 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003238/0.8878, allocations: 2.348 MB / 0.9938 GB, free: 9.66 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001737/0.8895, allocations: 1.237 MB / 0.995 GB, free: 8.418 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001533/0.891, allocations: 0.8248 MB / 0.9958 GB, free: 7.59 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007433/0.8918, allocations: 0.6573 MB / 0.9964 GB, free: 6.93 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.8919, allocations: 92 kB / 0.9965 GB, free: 6.84 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005285/0.8972, allocations: 2.7 MB / 0.9991 GB, free: 4.133 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000497/0.8977, allocations: 0.5454 MB / 0.9997 GB, free: 3.586 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0007547/0.8985, allocations: 0.7348 MB / 1 GB, free: 2.848 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.00427/0.9028, allocations: 3.132 MB / 1.003 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.9028, allocations: 0 / 1.003 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9028, allocations: 0 / 1.003 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.568e-05/0.9028, allocations: 0 / 1.003 GB, free: 15.71 MB / 0.7637 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.9049, allocations: 1.752 MB / 1.005 GB, free: 13.9 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.905, allocations: 8.031 kB / 1.005 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001684/0.9067, allocations: 373.8 kB / 1.006 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/0.9081, allocations: 0.9658 MB / 1.006 GB, free: 12.52 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.701e-05/0.9081, allocations: 74.06 kB / 1.007 GB, free: 12.44 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.9083, allocations: 104 kB / 1.007 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001977/0.9102, allocations: 1.525 MB / 1.008 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.9103, allocations: 4 kB / 1.008 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.285e-05/0.9104, allocations: 48 kB / 1.008 GB, free: 10.65 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.425e-05/0.9105, allocations: 69.41 kB / 1.008 GB, free: 10.58 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.9118, allocations: 1.017 MB / 1.009 GB, free: 9.566 MB / 0.7637 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.005789/0.9176, allocations: 5.848 MB / 1.015 GB, free: 3.406 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005584/0.9182, allocations: 326.1 kB / 1.015 GB, free: 3.051 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002775/0.9185, allocations: 247.4 kB / 1.015 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007032/0.9192, allocations: 0.712 MB / 1.016 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.9192, allocations: 38.56 kB / 1.016 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=28): time 2.204e-06/0.9192, allocations: 0 / 1.016 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of matching and sorting (n=28): time 0.001236/0.9205, allocations: 0.6735 MB / 1.017 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/0.9206, allocations: 132.5 kB / 1.017 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001865/0.9224, allocations: 1.69 MB / 1.019 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/0.9225, allocations: 29.7 kB / 1.019 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004855/0.923, allocations: 0.5621 MB / 1.019 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.029e-05/0.923, allocations: 94.69 kB / 1.019 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.9232, allocations: 73.69 kB / 1.019 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.9233, allocations: 318 kB / 1.02 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.9235, allocations: 155.9 kB / 1.02 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003034/0.9238, allocations: 268.4 kB / 1.02 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004846/0.9243, allocations: 404.2 kB / 1.02 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.9243, allocations: 4 kB / 1.02 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007102/0.925, allocations: 0.5471 MB / 1.021 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.925, allocations: 6.188 kB / 1.021 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.9251, allocations: 5.094 kB / 1.021 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.9251, allocations: 4 kB / 1.021 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.9253, allocations: 51.91 kB / 1.021 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.9253, allocations: 4 kB / 1.021 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005529/0.9259, allocations: 114.6 kB / 1.021 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-05/0.9259, allocations: 27.98 kB / 1.021 GB, free: 12.62 MB / 0.7794 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.0004374/0.9264, allocations: 374.8 kB / 1.022 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/0.9266, allocations: 138.2 kB / 1.022 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005779/0.9272, allocations: 390 kB / 1.022 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.9272, allocations: 3.938 kB / 1.022 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.9272, allocations: 8 kB / 1.022 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.9272, allocations: 3.938 kB / 1.022 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003074/0.9303, allocations: 2.521 MB / 1.025 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.9303, allocations: 8.75 kB / 1.025 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.9305, allocations: 51.92 kB / 1.025 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/0.9306, allocations: 12 kB / 1.025 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.254e-05/0.9306, allocations: 12 kB / 1.025 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.738e-06/0.9306, allocations: 11.94 kB / 1.025 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/0.9306, allocations: 15.92 kB / 1.025 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006174/0.9312, allocations: 0.6141 MB / 1.025 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003431/0.9316, allocations: 299.1 kB / 1.026 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/0.9317, allocations: 16 kB / 1.026 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003538/0.9321, allocations: 8 kB / 1.026 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.9322, allocations: 43.78 kB / 1.026 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.9322, allocations: 16.06 kB / 1.026 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001383/0.9336, allocations: 1.227 MB / 1.027 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9336, allocations: 0 / 1.027 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0009691/0.9346, allocations: 327.8 kB / 1.027 GB, free: 6.23 MB / 0.7794 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.001362/0.9359, allocations: 0.6053 MB / 1.028 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005334/0.9365, allocations: 355.4 kB / 1.028 GB, free: 5.277 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.9365, allocations: 0 / 1.028 GB, free: 5.277 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.9367, allocations: 168.5 kB / 1.028 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003558/0.9403, allocations: 0.9244 MB / 1.029 GB, free: 4.219 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002603/0.9429, allocations: 2.09 MB / 1.031 GB, free: 2.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007435/0.9436, allocations: 1.212 MB / 1.032 GB, free: 0.7773 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0007977/0.9444, allocations: 306.7 kB / 1.033 GB, free: 484 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.9446, allocations: 79.44 kB / 1.033 GB, free: 404 kB / 0.7794 GB Notification: Performance of SimCode: time 6.61e-07/0.9446, allocations: 3.938 kB / 1.033 GB, free: 400 kB / 0.7794 GB Notification: Performance of Templates: time 0.04656/0.9912, allocations: 30.83 MB / 1.063 GB, free: 1.938 MB / 0.8106 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)