Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve") translateModel(IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001084, allocations: 98.58 kB / 16.02 MB, free: 80 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.001392/0.001392, allocations: 180.5 kB / 16.92 MB, free: 6.922 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.471/1.471, allocations: 223.2 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7724/0.7724, allocations: 123 MB / 415.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003025/0.0003025, allocations: 12 kB / 0.4933 GB, free: 14.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4549/0.4552, allocations: 79.28 MB / 0.5707 GB, free: 9.922 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.02085/0.4761, allocations: 20.04 MB / 0.5903 GB, free: 12.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008184/0.4843, allocations: 4.917 MB / 0.5951 GB, free: 8.969 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008135/0.4852, allocations: 16.88 kB / 0.5951 GB, free: 8.961 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009627/0.4862, allocations: 234 kB / 0.5953 GB, free: 8.816 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002746/0.4889, allocations: 0.7435 MB / 0.5961 GB, free: 8.387 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002266/0.4912, allocations: 0.6495 MB / 0.5967 GB, free: 8.055 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002952/0.4942, allocations: 1.815 MB / 0.5985 GB, free: 7.391 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007108/0.4949, allocations: 366.1 kB / 0.5988 GB, free: 7.258 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001272/0.4962, allocations: 0.516 MB / 0.5993 GB, free: 7.039 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008137/0.497, allocations: 454.3 kB / 0.5998 GB, free: 6.855 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.46e-05/0.4971, allocations: 20.06 kB / 0.5998 GB, free: 6.855 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00169/0.4988, allocations: 0.5972 MB / 0.6004 GB, free: 6.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.499, allocations: 106.4 kB / 0.6005 GB, free: 6.605 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003459/0.4993, allocations: 295.4 kB / 0.6007 GB, free: 6.426 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00125/0.5006, allocations: 0.8089 MB / 0.6015 GB, free: 6.156 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.5006, allocations: 5.375 kB / 0.6015 GB, free: 6.152 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5006, allocations: 0 / 0.6015 GB, free: 6.152 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.5006, allocations: 0 / 0.6015 GB, free: 6.152 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.00157/0.5022, allocations: 0.829 MB / 0.6024 GB, free: 5.523 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.5022, allocations: 12.41 kB / 0.6024 GB, free: 5.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.5024, allocations: 65.38 kB / 0.6024 GB, free: 5.488 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000637/0.503, allocations: 448.6 kB / 0.6029 GB, free: 5.105 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.667e-05/0.5031, allocations: 34.95 kB / 0.6029 GB, free: 5.082 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.731e-05/0.5031, allocations: 35.97 kB / 0.6029 GB, free: 5.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000707/0.5038, allocations: 321.2 kB / 0.6032 GB, free: 4.887 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.5039, allocations: 0 / 0.6032 GB, free: 4.887 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.39e-05/0.5039, allocations: 14.53 kB / 0.6032 GB, free: 4.875 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.5039, allocations: 6.875 kB / 0.6032 GB, free: 4.875 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006949/0.5046, allocations: 282.2 kB / 0.6035 GB, free: 4.758 MB / 446.1 MB 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.002428/0.5071, allocations: 1.358 MB / 0.6048 GB, free: 3.602 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000557/0.5076, allocations: 274.2 kB / 0.6051 GB, free: 3.461 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003238/0.508, allocations: 141.6 kB / 0.6052 GB, free: 3.398 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004467/0.5084, allocations: 0.4993 MB / 0.6057 GB, free: 2.812 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.5085, allocations: 35.53 kB / 0.6058 GB, free: 2.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 2.174e-06/0.5085, allocations: 1 kB / 0.6058 GB, free: 2.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=25): time 0.001912/0.5104, allocations: 0.5914 MB / 0.6063 GB, free: 2.434 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.5105, allocations: 53.94 kB / 0.6064 GB, free: 2.371 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005643/0.511, allocations: 474.6 kB / 0.6068 GB, free: 2.082 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/0.5111, allocations: 31.73 kB / 0.6069 GB, free: 2.047 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.5113, allocations: 242.7 kB / 0.6071 GB, free: 1.832 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.126e-05/0.5114, allocations: 84.97 kB / 0.6072 GB, free: 1.758 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-05/0.5114, allocations: 36.52 kB / 0.6072 GB, free: 1.727 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.5116, allocations: 357.8 kB / 0.6076 GB, free: 1.379 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003345/0.5119, allocations: 128.2 kB / 0.6077 GB, free: 1.324 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004016/0.5123, allocations: 187.9 kB / 0.6079 GB, free: 1.211 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006875/0.513, allocations: 296.4 kB / 0.6081 GB, free: 1.062 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5131, allocations: 0 / 0.6081 GB, free: 1.062 MB / 446.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001644/0.5147, allocations: 0.5051 MB / 0.6086 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.165e-05/0.5148, allocations: 105.2 kB / 0.6087 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5148, allocations: 0 / 0.6087 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003633/0.5152, allocations: 54.62 kB / 0.6088 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003818/0.5156, allocations: 79.44 kB / 0.6089 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004358/0.516, allocations: 0.5632 MB / 0.6094 GB, free: 112 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005661/0.5166, allocations: 73.58 kB / 0.6095 GB, free: 68 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.661e-05/0.5166, allocations: 22.64 kB / 0.6095 GB, free: 56 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.654e-06/0.5167, allocations: 4.656 kB / 0.6095 GB, free: 56 kB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008483/0.5175, allocations: 318.7 kB / 0.6098 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.5175, allocations: 1.281 kB / 0.6098 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.619e-06/0.5175, allocations: 2.062 kB / 0.6098 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004273/0.518, allocations: 83.61 kB / 0.6099 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.518, allocations: 6.328 kB / 0.6099 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005052/0.5185, allocations: 60.17 kB / 0.61 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/0.5185, allocations: 13.66 kB / 0.61 GB, free: 15.86 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0003196/0.5189, allocations: 258.9 kB / 0.6102 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.151e-05/0.519, allocations: 49.22 kB / 0.6103 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.5201, allocations: 443.4 kB / 0.6107 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.5201, allocations: 3.406 kB / 0.6107 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.5201, allocations: 5 kB / 0.6107 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.5201, allocations: 7.922 kB / 0.6107 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.5218, allocations: 0.9591 MB / 0.6116 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.5218, allocations: 9.344 kB / 0.6117 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/0.522, allocations: 51.94 kB / 0.6117 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001778/0.5222, allocations: 50.8 kB / 0.6118 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.5223, allocations: 7.406 kB / 0.6118 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003586/0.5226, allocations: 0.5585 MB / 0.6123 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.5226, allocations: 1 kB / 0.6123 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008987/0.5235, allocations: 0.5047 MB / 0.6128 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002032/0.5238, allocations: 162 kB / 0.613 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.193e-05/0.5238, allocations: 5.969 kB / 0.613 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003947/0.5242, allocations: 43.98 kB / 0.613 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.453e-05/0.5243, allocations: 26.41 kB / 0.613 GB, free: 13.47 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/0.5243, allocations: 16.25 kB / 0.613 GB, free: 13.46 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003782/0.5247, allocations: 320.1 kB / 0.6133 GB, free: 13.27 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.954e-06/0.5247, allocations: 1.344 kB / 0.6133 GB, free: 13.27 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008772/0.5256, allocations: 253.9 kB / 0.6136 GB, free: 13.21 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.0005238/0.5262, allocations: 248.9 kB / 0.6138 GB, free: 13.05 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001279/0.5274, allocations: 499.4 kB / 0.6143 GB, free: 12.86 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.5275, allocations: 0.7812 kB / 0.6143 GB, free: 12.86 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004432/0.5279, allocations: 185.6 kB / 0.6145 GB, free: 12.78 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/0.5295, allocations: 257.5 kB / 0.6147 GB, free: 12.65 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.5311, allocations: 1.022 MB / 0.6157 GB, free: 11.91 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.5315, allocations: 0.8548 MB / 0.6166 GB, free: 11.14 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004628/0.532, allocations: 120.8 kB / 0.6167 GB, free: 11.08 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.5321, allocations: 44.42 kB / 0.6167 GB, free: 11.07 MB / 462.1 MB Notification: Performance of SimCode: time 3e-07/0.5321, allocations: 0 / 0.6167 GB, free: 11.07 MB / 462.1 MB Notification: Performance of Templates: time 0.01792/0.55, allocations: 9.851 MB / 0.6263 GB, free: 3.066 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)