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.0008587/0.0008588, allocations: 90.3 kB / 16.67 MB, free: 6.582 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.0009478/0.0009478, allocations: 176 kB / 17.58 MB, free: 6.184 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.376/1.376, allocations: 223.3 MB / 241.6 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7413/0.7413, allocations: 115.5 MB / 408.2 MB, free: 7.113 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003523/0.0003524, allocations: 8 kB / 496.5 MB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.4, allocations: 77.52 MB / 0.5606 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.0185/0.4186, allocations: 20.04 MB / 0.5801 GB, free: 21.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006521/0.4252, allocations: 4.919 MB / 0.585 GB, free: 18.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008272/0.426, allocations: 17.53 kB / 0.585 GB, free: 18.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008214/0.4269, allocations: 220.3 kB / 0.5852 GB, free: 18.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002367/0.4292, allocations: 0.7427 MB / 0.5859 GB, free: 17.81 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001996/0.4312, allocations: 0.644 MB / 0.5865 GB, free: 17.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002519/0.4338, allocations: 1.811 MB / 0.5883 GB, free: 16.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007/0.4345, allocations: 366.7 kB / 0.5887 GB, free: 16.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.4356, allocations: 0.5208 MB / 0.5892 GB, free: 16.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007006/0.4363, allocations: 451.3 kB / 0.5896 GB, free: 16.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.462e-05/0.4364, allocations: 24.62 kB / 0.5896 GB, free: 16.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.4379, allocations: 0.5996 MB / 0.5902 GB, free: 16.1 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.438, allocations: 108.4 kB / 0.5903 GB, free: 16.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003155/0.4384, allocations: 297.9 kB / 0.5906 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009645/0.4393, allocations: 0.5759 MB / 0.5911 GB, free: 15.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4394, allocations: 0 / 0.5911 GB, free: 15.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4394, allocations: 0 / 0.5911 GB, free: 15.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.4394, allocations: 0 / 0.5911 GB, free: 15.71 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.001389/0.4408, allocations: 0.8361 MB / 0.592 GB, free: 15.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.4408, allocations: 13.5 kB / 0.592 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.4409, allocations: 63 kB / 0.592 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005498/0.4415, allocations: 454.2 kB / 0.5925 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.4415, allocations: 23.47 kB / 0.5925 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.217e-05/0.4416, allocations: 35.22 kB / 0.5925 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006905/0.4423, allocations: 325.7 kB / 0.5928 GB, free: 14.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.4423, allocations: 0 / 0.5928 GB, free: 14.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.4424, allocations: 10.53 kB / 0.5928 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.4424, allocations: 7.062 kB / 0.5929 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000636/0.443, allocations: 282.9 kB / 0.5931 GB, free: 14.4 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.001972/0.445, allocations: 1.353 MB / 0.5944 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005042/0.4455, allocations: 281.8 kB / 0.5947 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/0.4458, allocations: 141.7 kB / 0.5948 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003596/0.4462, allocations: 0.4961 MB / 0.5953 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.4462, allocations: 39.59 kB / 0.5954 GB, free: 12.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 1.452e-06/0.4462, allocations: 4.906 kB / 0.5954 GB, free: 12.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=25): time 0.001774/0.448, allocations: 0.596 MB / 0.596 GB, free: 12.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.4481, allocations: 53.75 kB / 0.596 GB, free: 12.01 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004992/0.4486, allocations: 469.8 kB / 0.5965 GB, free: 11.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/0.4486, allocations: 32.17 kB / 0.5965 GB, free: 11.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.4488, allocations: 244.3 kB / 0.5967 GB, free: 11.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.916e-05/0.4488, allocations: 84.97 kB / 0.5968 GB, free: 11.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.283e-05/0.4489, allocations: 32.39 kB / 0.5968 GB, free: 11.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.891e-05/0.449, allocations: 357.2 kB / 0.5972 GB, free: 11.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/0.4493, allocations: 127.8 kB / 0.5973 GB, free: 10.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/0.4496, allocations: 200.3 kB / 0.5975 GB, free: 10.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006296/0.4503, allocations: 300.2 kB / 0.5978 GB, free: 10.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4503, allocations: 3.938 kB / 0.5978 GB, free: 10.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001529/0.4518, allocations: 0.5094 MB / 0.5983 GB, free: 10.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.887e-05/0.4519, allocations: 104 kB / 0.5984 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.4519, allocations: 1.344 kB / 0.5984 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003605/0.4523, allocations: 49.78 kB / 0.5984 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003553/0.4526, allocations: 79.17 kB / 0.5985 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003265/0.453, allocations: 0.5652 MB / 0.5991 GB, free: 9.734 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005403/0.4535, allocations: 69.05 kB / 0.5991 GB, free: 9.695 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-05/0.4536, allocations: 14.73 kB / 0.5991 GB, free: 9.691 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.594e-06/0.4536, allocations: 2.781 kB / 0.5991 GB, free: 9.691 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007459/0.4543, allocations: 320.4 kB / 0.5994 GB, free: 9.559 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-06/0.4544, allocations: 0 / 0.5994 GB, free: 9.559 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.697e-06/0.4544, allocations: 2.125 kB / 0.5994 GB, free: 9.559 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003758/0.4548, allocations: 88.52 kB / 0.5995 GB, free: 9.535 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.4548, allocations: 5.406 kB / 0.5995 GB, free: 9.531 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004507/0.4552, allocations: 68.66 kB / 0.5996 GB, free: 9.492 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/0.4553, allocations: 14.19 kB / 0.5996 GB, free: 9.488 MB / 446.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.0002391/0.4555, allocations: 245.5 kB / 0.5998 GB, free: 9.262 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.563e-05/0.4556, allocations: 50.06 kB / 0.5999 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009497/0.4565, allocations: 446.9 kB / 0.6003 GB, free: 8.973 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.4566, allocations: 3.188 kB / 0.6003 GB, free: 8.973 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4566, allocations: 0 / 0.6003 GB, free: 8.973 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.4566, allocations: 4.969 kB / 0.6003 GB, free: 8.969 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.4581, allocations: 0.9661 MB / 0.6013 GB, free: 8.242 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.4581, allocations: 2.344 kB / 0.6013 GB, free: 8.242 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/0.4583, allocations: 55.16 kB / 0.6013 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001684/0.4585, allocations: 51.05 kB / 0.6014 GB, free: 8.195 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.4585, allocations: 8.188 kB / 0.6014 GB, free: 8.191 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002556/0.4588, allocations: 0.5553 MB / 0.6019 GB, free: 7.645 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.4588, allocations: 5.188 kB / 0.6019 GB, free: 7.641 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007804/0.4596, allocations: 0.5105 MB / 0.6024 GB, free: 7.293 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.4598, allocations: 162.2 kB / 0.6026 GB, free: 7.137 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.954e-05/0.4598, allocations: 7 kB / 0.6026 GB, free: 7.133 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003692/0.4602, allocations: 46.61 kB / 0.6026 GB, free: 7.109 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.345e-05/0.4603, allocations: 22.19 kB / 0.6027 GB, free: 7.098 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/0.4603, allocations: 16.84 kB / 0.6027 GB, free: 7.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003586/0.4607, allocations: 320.3 kB / 0.603 GB, free: 6.898 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4607, allocations: 1.625 kB / 0.603 GB, free: 6.898 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008444/0.4615, allocations: 253.7 kB / 0.6032 GB, free: 6.84 MB / 446.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.0005093/0.462, allocations: 256.6 kB / 0.6035 GB, free: 6.676 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.4631, allocations: 495 kB / 0.6039 GB, free: 6.277 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4632, allocations: 0 / 0.6039 GB, free: 6.277 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003576/0.4635, allocations: 181.1 kB / 0.6041 GB, free: 6.102 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.465, allocations: 261.4 kB / 0.6044 GB, free: 5.855 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.4662, allocations: 1.05 MB / 0.6054 GB, free: 4.762 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.4665, allocations: 0.8551 MB / 0.6062 GB, free: 3.879 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.4666, allocations: 47.42 kB / 0.6063 GB, free: 3.832 MB / 446.1 MB Notification: Performance of SimCode: time 6.12e-07/0.4666, allocations: 0 / 0.6063 GB, free: 3.832 MB / 446.1 MB Notification: Performance of Templates: time 0.01315/0.4798, allocations: 10.19 MB / 0.6162 GB, free: 9.746 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)