Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.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.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008248/0.0008247, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005874/0.005874, allocations: 173.9 kB / 16.26 MB, free: 6.613 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.319/1.319, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001804/0.001804, allocations: 278 kB / 291.7 MB, free: 1.848 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9384/0.9384, allocations: 169.5 MB / 0.5004 GB, free: 14.04 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003981/0.0003981, allocations: 18.39 kB / 0.5987 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1622, allocations: 88.55 MB / 0.6851 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.05441/0.2166, allocations: 59.22 MB / 0.743 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01936/0.236, allocations: 14.57 MB / 0.7572 GB, free: 5.027 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001948/0.238, allocations: 55.62 kB / 0.7573 GB, free: 4.973 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001787/0.2398, allocations: 0.5749 MB / 0.7578 GB, free: 4.395 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005311/0.2451, allocations: 2.088 MB / 0.7599 GB, free: 2.297 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003933/0.2491, allocations: 1.501 MB / 0.7613 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.3134/0.5625, allocations: 5.26 MB / 0.7665 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002288/0.5648, allocations: 1.036 MB / 0.7675 GB, free: 13.44 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003227/0.568, allocations: 1.321 MB / 0.7688 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001994/0.57, allocations: 1.051 MB / 0.7698 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002009/0.5702, allocations: 52.03 kB / 0.7698 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003495/0.5738, allocations: 1.588 MB / 0.7714 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000349/0.5741, allocations: 258.9 kB / 0.7716 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.5752, allocations: 0.7161 MB / 0.7723 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00427/0.5795, allocations: 2.605 MB / 0.7749 GB, free: 12.99 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.5795, allocations: 1.812 kB / 0.7749 GB, free: 12.99 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.395e-06/0.5795, allocations: 0 / 0.7749 GB, free: 12.99 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.638e-05/0.5795, allocations: 0 / 0.7749 GB, free: 12.99 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002942/0.5825, allocations: 1.569 MB / 0.7764 GB, free: 12.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.5825, allocations: 8.75 kB / 0.7764 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003922/0.5829, allocations: 160.9 kB / 0.7766 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001912/0.5849, allocations: 1.3 MB / 0.7778 GB, free: 11.6 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.592e-05/0.5849, allocations: 67.94 kB / 0.7779 GB, free: 11.6 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.585, allocations: 90.22 kB / 0.778 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.5866, allocations: 0.9578 MB / 0.7789 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/0.5866, allocations: 5.875 kB / 0.7789 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.687e-05/0.5867, allocations: 35.72 kB / 0.779 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.441e-05/0.5868, allocations: 23.38 kB / 0.779 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.5878, allocations: 0.6662 MB / 0.7796 GB, free: 11.41 MB / 0.545 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.004534/0.5924, allocations: 5.219 MB / 0.7847 GB, free: 8.344 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007081/0.5931, allocations: 406 kB / 0.7851 GB, free: 8.309 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003449/0.5935, allocations: 242.3 kB / 0.7854 GB, free: 8.301 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00164/0.5951, allocations: 1.607 MB / 0.7869 GB, free: 22.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.5952, allocations: 44.03 kB / 0.787 GB, free: 22.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=53): time 2.936e-06/0.5952, allocations: 0 / 0.787 GB, free: 22.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=53): time 0.002206/0.5974, allocations: 0.9422 MB / 0.7879 GB, free: 22.27 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.5974, allocations: 57.09 kB / 0.7879 GB, free: 22.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/0.5989, allocations: 0.9838 MB / 0.7889 GB, free: 22.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.106e-05/0.599, allocations: 37.17 kB / 0.7889 GB, free: 22.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000445/0.5995, allocations: 0.5759 MB / 0.7895 GB, free: 21.79 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001845/0.5996, allocations: 192.9 kB / 0.7897 GB, free: 21.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.695e-05/0.5997, allocations: 60.14 kB / 0.7897 GB, free: 21.65 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.5999, allocations: 334.6 kB / 0.7901 GB, free: 21.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004065/0.6003, allocations: 198.5 kB / 0.7902 GB, free: 21.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005288/0.6008, allocations: 404 kB / 0.7906 GB, free: 21.12 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009277/0.6018, allocations: 0.6279 MB / 0.7912 GB, free: 20.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.6018, allocations: 1.031 kB / 0.7912 GB, free: 20.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00177/0.6035, allocations: 0.8426 MB / 0.7921 GB, free: 20.78 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001405/0.6037, allocations: 262.5 kB / 0.7923 GB, free: 20.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.496e-05/0.6037, allocations: 8.844 kB / 0.7923 GB, free: 20.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005616/0.6043, allocations: 112.2 kB / 0.7924 GB, free: 20.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004503/0.6048, allocations: 143.1 kB / 0.7926 GB, free: 20.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004751/0.6053, allocations: 0.6038 MB / 0.7932 GB, free: 19.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008935/0.6062, allocations: 112.4 kB / 0.7933 GB, free: 19.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-05/0.6062, allocations: 38.91 kB / 0.7933 GB, free: 19.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/0.6063, allocations: 5.844 kB / 0.7933 GB, free: 19.9 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001423/0.6077, allocations: 0.6971 MB / 0.794 GB, free: 19.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.6077, allocations: 16.05 kB / 0.794 GB, free: 19.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004646/0.6082, allocations: 107.6 kB / 0.7941 GB, free: 19.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004093/0.6086, allocations: 144.5 kB / 0.7942 GB, free: 19.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004114/0.609, allocations: 0.605 MB / 0.7948 GB, free: 19.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008082/0.6099, allocations: 103.8 kB / 0.7949 GB, free: 19.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.33e-05/0.6099, allocations: 38.16 kB / 0.795 GB, free: 19.29 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0006211/0.6106, allocations: 374.7 kB / 0.7953 GB, free: 19.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.6107, allocations: 114.4 kB / 0.7954 GB, free: 19.03 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001993/0.6127, allocations: 1.069 MB / 0.7965 GB, free: 18.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.207e-05/0.6128, allocations: 15.61 kB / 0.7965 GB, free: 18.93 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.6128, allocations: 1.281 kB / 0.7965 GB, free: 18.93 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001367/0.6142, allocations: 0.8081 MB / 0.7973 GB, free: 18.75 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003208/0.6174, allocations: 2.099 MB / 0.7993 GB, free: 18.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/0.6174, allocations: 3.5 kB / 0.7993 GB, free: 18.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003738/0.6178, allocations: 100.3 kB / 0.7994 GB, free: 18.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003156/0.6181, allocations: 68.84 kB / 0.7995 GB, free: 18.35 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.331e-05/0.6182, allocations: 29.92 kB / 0.7995 GB, free: 18.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004365/0.6186, allocations: 0.5882 MB / 0.8001 GB, free: 17.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.6186, allocations: 1.375 kB / 0.8001 GB, free: 17.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002451/0.6211, allocations: 1.325 MB / 0.8014 GB, free: 17.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006143/0.6217, allocations: 315 kB / 0.8017 GB, free: 17.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/0.6219, allocations: 13 kB / 0.8017 GB, free: 17.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009922/0.6229, allocations: 83.81 kB / 0.8018 GB, free: 17.39 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.6231, allocations: 54.84 kB / 0.8018 GB, free: 17.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.461e-05/0.6231, allocations: 32.39 kB / 0.8019 GB, free: 17.39 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001084/0.6242, allocations: 0.6794 MB / 0.8025 GB, free: 17.28 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6243, allocations: 0 / 0.8025 GB, free: 17.28 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002164/0.6264, allocations: 0.7388 MB / 0.8033 GB, free: 17.15 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U) * 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 (65): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001055/0.6275, allocations: 0.571 MB / 0.8038 GB, free: 16.96 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001614/0.6291, allocations: 1.059 MB / 0.8049 GB, free: 16.81 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.6291, allocations: 2.938 kB / 0.8049 GB, free: 16.81 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005155/0.6297, allocations: 427.4 kB / 0.8053 GB, free: 16.74 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002808/0.6325, allocations: 0.577 MB / 0.8058 GB, free: 16.69 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003139/0.6356, allocations: 2.708 MB / 0.8085 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006392/0.6363, allocations: 1.136 MB / 0.8096 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001083/0.6374, allocations: 312.3 kB / 0.8099 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.6376, allocations: 107 kB / 0.81 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of SimCode: time 1.132e-06/0.6376, allocations: 0 / 0.81 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of Templates: time 0.04031/0.6779, allocations: 26.49 MB / 0.8359 GB, free: 13.21 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)