Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.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.Boundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary") translateModel(BuildingSystems.Fluid.Sources.Validation.Boundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 104.2 kB / 16.4 MB, free: 6.465 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.001049/0.00105, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002164/0.002165, allocations: 287.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9162/0.9162, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 103.8 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.439/0.4407, allocations: 86.97 MB / 0.767 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Boundary): time 0.7126/1.153, allocations: 253.3 MB / 1.014 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02167/1.175, allocations: 20.59 MB / 1.035 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002997/1.178, allocations: 73.69 kB / 1.035 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002229/1.18, allocations: 0.8332 MB / 1.035 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007042/1.187, allocations: 2.91 MB / 1.038 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006301/1.194, allocations: 2.765 MB / 1.041 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005251/1.199, allocations: 3.819 MB / 1.045 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001777/1.201, allocations: 1.301 MB / 1.046 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002603/1.203, allocations: 1.441 MB / 1.047 GB, free: 172 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001339/1.205, allocations: 0.987 MB / 1.048 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000178/1.205, allocations: 109.3 kB / 1.048 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008231/1.213, allocations: 3.944 MB / 1.052 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000686/1.214, allocations: 0.6514 MB / 1.053 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001248/1.215, allocations: 0.978 MB / 1.054 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.007988/1.223, allocations: 4.208 MB / 1.058 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/1.223, allocations: 2.625 kB / 1.058 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.573e-06/1.223, allocations: 1.219 kB / 1.058 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.412e-05/1.223, allocations: 0 / 1.058 GB, free: 13.04 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.003788/1.227, allocations: 2.298 MB / 1.06 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/1.227, allocations: 10.91 kB / 1.06 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002145/1.229, allocations: 485.6 kB / 1.061 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002265/1.232, allocations: 1.381 MB / 1.062 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.534e-05/1.232, allocations: 102.6 kB / 1.062 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/1.232, allocations: 124.6 kB / 1.062 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002426/1.234, allocations: 1.72 MB / 1.064 GB, free: 9.043 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/1.234, allocations: 5.438 kB / 1.064 GB, free: 9.043 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/1.234, allocations: 47.34 kB / 1.064 GB, free: 9.008 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.231e-05/1.234, allocations: 68.38 kB / 1.064 GB, free: 8.992 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001594/1.236, allocations: 1.222 MB / 1.065 GB, free: 8.43 MB / 0.7325 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.007398/1.243, allocations: 7.519 MB / 1.073 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008989/1.244, allocations: 0.6726 MB / 1.073 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006738/1.245, allocations: 0.6135 MB / 1.074 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00154/1.247, allocations: 1.876 MB / 1.076 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/1.247, allocations: 57.19 kB / 1.076 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=72): time 3.326e-06/1.247, allocations: 0 / 1.076 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of matching and sorting (n=72): time 0.002349/1.249, allocations: 1.389 MB / 1.077 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/1.249, allocations: 297.3 kB / 1.077 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002311/1.252, allocations: 1.884 MB / 1.079 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.265e-05/1.252, allocations: 45.7 kB / 1.079 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006344/1.252, allocations: 0.7233 MB / 1.08 GB, free: 9.738 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002034/1.252, allocations: 249.8 kB / 1.08 GB, free: 9.496 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/1.253, allocations: 134.3 kB / 1.08 GB, free: 9.359 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001325/1.253, allocations: 326 kB / 1.081 GB, free: 9.035 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003978/1.253, allocations: 331.6 kB / 1.081 GB, free: 8.711 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006408/1.254, allocations: 0.5632 MB / 1.082 GB, free: 8.102 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009797/1.255, allocations: 0.859 MB / 1.082 GB, free: 7.215 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/1.255, allocations: 4 kB / 1.082 GB, free: 7.211 MB / 0.7481 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001423/1.256, allocations: 1.014 MB / 1.083 GB, free: 6.215 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/1.256, allocations: 8 kB / 1.083 GB, free: 6.207 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/1.256, allocations: 7.938 kB / 1.083 GB, free: 6.199 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/1.256, allocations: 8.125 kB / 1.083 GB, free: 6.191 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004209/1.257, allocations: 123.5 kB / 1.083 GB, free: 6.078 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/1.257, allocations: 6.625 kB / 1.083 GB, free: 6.074 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007935/1.258, allocations: 126.4 kB / 1.084 GB, free: 5.949 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.818e-05/1.258, allocations: 43.98 kB / 1.084 GB, free: 5.906 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (72): * Single equations (assignments): 72 * 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.000653/1.258, allocations: 461.1 kB / 1.084 GB, free: 5.453 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003898/1.259, allocations: 189.7 kB / 1.084 GB, free: 5.266 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001631/1.26, allocations: 1.091 MB / 1.085 GB, free: 4.191 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.98e-05/1.26, allocations: 12 kB / 1.085 GB, free: 4.18 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/1.26, allocations: 4 kB / 1.085 GB, free: 4.176 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/1.26, allocations: 3.984 kB / 1.085 GB, free: 4.172 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01103/1.271, allocations: 8.765 MB / 1.094 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-05/1.272, allocations: 16 kB / 1.094 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004108/1.272, allocations: 143.1 kB / 1.094 GB, free: 10.9 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-05/1.272, allocations: 20 kB / 1.094 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.1e-05/1.272, allocations: 36 kB / 1.094 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.977e-05/1.272, allocations: 29.14 kB / 1.094 GB, free: 10.82 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.511e-05/1.272, allocations: 27.59 kB / 1.094 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001819/1.274, allocations: 1.675 MB / 1.096 GB, free: 8.926 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007267/1.275, allocations: 410.4 kB / 1.096 GB, free: 8.504 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000245/1.275, allocations: 31.98 kB / 1.096 GB, free: 8.473 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006203/1.276, allocations: 30.62 kB / 1.096 GB, free: 8.445 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/1.276, allocations: 108.4 kB / 1.096 GB, free: 8.352 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-05/1.276, allocations: 56 kB / 1.096 GB, free: 8.297 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001678/1.277, allocations: 1.32 MB / 1.098 GB, free: 6.957 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.71e-07/1.277, allocations: 0 / 1.098 GB, free: 6.957 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001962/1.279, allocations: 0.5113 MB / 1.098 GB, free: 6.445 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * 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 (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.002098/1.282, allocations: 0.9362 MB / 1.099 GB, free: 5.547 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001235/1.283, allocations: 0.8564 MB / 1.1 GB, free: 4.73 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/1.283, allocations: 7.938 kB / 1.1 GB, free: 4.723 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0006119/1.283, allocations: 484.8 kB / 1.1 GB, free: 4.297 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005864/1.289, allocations: 1.333 MB / 1.102 GB, free: 3.008 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004427/1.294, allocations: 3.297 MB / 1.105 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001239/1.295, allocations: 1.406 MB / 1.106 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003697/1.295, allocations: 123.4 kB / 1.106 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of SimCode: time 1.283e-06/1.295, allocations: 0 / 1.106 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of Templates: time 0.04976/1.345, allocations: 35.4 MB / 1.141 GB, free: 10.86 MB / 0.8106 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe 2>&1)