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.0008447/0.0008447, allocations: 92.86 kB / 15.7 MB, free: 472 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.001017/0.001017, allocations: 170.2 kB / 16.58 MB, free: 6.051 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.452/1.452, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7086/0.7086, allocations: 115.5 MB / 407.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.000356, allocations: 12.22 kB / 495.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1794, allocations: 77.53 MB / 0.5593 GB, free: 9.414 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.02163/0.2011, allocations: 19.01 MB / 0.5779 GB, free: 6.348 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007008/0.2082, allocations: 4.627 MB / 0.5824 GB, free: 1.711 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004789/0.2087, allocations: 15.88 kB / 0.5824 GB, free: 1.695 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006845/0.2094, allocations: 194.7 kB / 0.5826 GB, free: 1.504 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001494/0.2109, allocations: 0.652 MB / 0.5832 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001472/0.2124, allocations: 0.6136 MB / 0.5838 GB, free: 256 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.3401/0.5525, allocations: 1.54 MB / 0.5853 GB, free: 11.99 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008933/0.5534, allocations: 343.5 kB / 0.5857 GB, free: 11.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001347/0.5548, allocations: 0.4955 MB / 0.5861 GB, free: 11.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008207/0.5556, allocations: 423.5 kB / 0.5866 GB, free: 11.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.699e-05/0.5557, allocations: 23.78 kB / 0.5866 GB, free: 11.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.5572, allocations: 0.5228 MB / 0.5871 GB, free: 11.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001971/0.5574, allocations: 98.69 kB / 0.5872 GB, free: 11.97 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001979/0.5576, allocations: 129.7 kB / 0.5873 GB, free: 11.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.5586, allocations: 0.5571 MB / 0.5878 GB, free: 11.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.5587, allocations: 5.875 kB / 0.5879 GB, free: 11.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5587, allocations: 0 / 0.5879 GB, free: 11.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.5587, allocations: 0 / 0.5879 GB, free: 11.92 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.001759/0.5605, allocations: 0.8387 MB / 0.5887 GB, free: 27.37 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.5605, allocations: 8.875 kB / 0.5887 GB, free: 27.37 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.5606, allocations: 63.39 kB / 0.5887 GB, free: 27.34 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006073/0.5612, allocations: 430.1 kB / 0.5891 GB, free: 27.09 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.388e-05/0.5613, allocations: 27.47 kB / 0.5892 GB, free: 27.09 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.904e-05/0.5613, allocations: 37.03 kB / 0.5892 GB, free: 27.09 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000719/0.5621, allocations: 322.3 kB / 0.5895 GB, free: 27.05 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.5621, allocations: 0.6094 kB / 0.5895 GB, free: 27.05 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.553e-05/0.5621, allocations: 13.28 kB / 0.5895 GB, free: 27.05 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.5622, allocations: 6.188 kB / 0.5895 GB, free: 27.05 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006344/0.5628, allocations: 279.8 kB / 0.5898 GB, free: 27.04 MB / 462.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.002169/0.565, allocations: 1.356 MB / 0.5911 GB, free: 26.36 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005138/0.5655, allocations: 270 kB / 0.5914 GB, free: 26.32 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003248/0.5658, allocations: 150.4 kB / 0.5915 GB, free: 26.32 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003594/0.5662, allocations: 0.4967 MB / 0.592 GB, free: 25.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.5662, allocations: 36.28 kB / 0.592 GB, free: 25.71 MB / 462.1 MB Notification: Performance of pre-optimization done (n=25): time 2.345e-06/0.5662, allocations: 6.422 kB / 0.5921 GB, free: 25.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=25): time 0.001654/0.5679, allocations: 0.5804 MB / 0.5926 GB, free: 25.54 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.5679, allocations: 62.3 kB / 0.5927 GB, free: 25.47 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005724/0.5685, allocations: 462.2 kB / 0.5931 GB, free: 25.35 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.5686, allocations: 35.95 kB / 0.5932 GB, free: 25.32 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.5688, allocations: 242.4 kB / 0.5934 GB, free: 25.21 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.661e-05/0.5688, allocations: 86.75 kB / 0.5935 GB, free: 25.15 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.775e-05/0.5689, allocations: 5.062 kB / 0.5935 GB, free: 25.15 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.569, allocations: 358.5 kB / 0.5938 GB, free: 24.84 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003108/0.5693, allocations: 123.7 kB / 0.5939 GB, free: 24.84 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000353/0.5697, allocations: 185.7 kB / 0.5941 GB, free: 24.79 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003591/0.5701, allocations: 137 kB / 0.5942 GB, free: 24.79 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5701, allocations: 0 / 0.5942 GB, free: 24.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009707/0.5711, allocations: 431.9 kB / 0.5947 GB, free: 24.71 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.663e-05/0.5711, allocations: 115.3 kB / 0.5948 GB, free: 24.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.5712, allocations: 1.719 kB / 0.5948 GB, free: 24.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003346/0.5715, allocations: 53.89 kB / 0.5948 GB, free: 24.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/0.5719, allocations: 79.73 kB / 0.5949 GB, free: 24.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004219/0.5723, allocations: 0.5561 MB / 0.5954 GB, free: 24.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004748/0.5728, allocations: 69.5 kB / 0.5955 GB, free: 24.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.464e-05/0.5729, allocations: 19.78 kB / 0.5955 GB, free: 24.05 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.053e-06/0.5729, allocations: 3 kB / 0.5955 GB, free: 24.05 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006988/0.5736, allocations: 315.6 kB / 0.5958 GB, free: 24.04 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.5736, allocations: 3.75 kB / 0.5958 GB, free: 24.04 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.781e-06/0.5736, allocations: 6.734 kB / 0.5958 GB, free: 24.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004161/0.574, allocations: 91.77 kB / 0.5959 GB, free: 24.04 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.574, allocations: 2 kB / 0.5959 GB, free: 24.04 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003895/0.5744, allocations: 72.39 kB / 0.596 GB, free: 24.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.45e-05/0.5745, allocations: 14.97 kB / 0.596 GB, free: 24.02 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002415/0.5747, allocations: 242.2 kB / 0.5962 GB, free: 23.83 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.484e-05/0.5748, allocations: 50.17 kB / 0.5963 GB, free: 23.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009615/0.5758, allocations: 444 kB / 0.5967 GB, free: 23.73 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.5758, allocations: 4.047 kB / 0.5967 GB, free: 23.73 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.5758, allocations: 1.094 kB / 0.5967 GB, free: 23.73 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.5758, allocations: 1.547 kB / 0.5967 GB, free: 23.73 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.5774, allocations: 0.967 MB / 0.5977 GB, free: 23.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.5775, allocations: 1.312 kB / 0.5977 GB, free: 23.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/0.5777, allocations: 54.7 kB / 0.5977 GB, free: 23.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001733/0.5779, allocations: 39.12 kB / 0.5978 GB, free: 23.37 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.5779, allocations: 13.97 kB / 0.5978 GB, free: 23.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003772/0.5783, allocations: 0.56 MB / 0.5983 GB, free: 22.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5783, allocations: 1.969 kB / 0.5983 GB, free: 22.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.5793, allocations: 0.5027 MB / 0.5988 GB, free: 22.64 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001969/0.5796, allocations: 163.6 kB / 0.599 GB, free: 22.51 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.874e-05/0.5796, allocations: 7.125 kB / 0.599 GB, free: 22.51 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003721/0.58, allocations: 40.94 kB / 0.599 GB, free: 22.51 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.582e-05/0.5801, allocations: 33.8 kB / 0.599 GB, free: 22.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.5802, allocations: 12.31 kB / 0.5991 GB, free: 22.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005203/0.5807, allocations: 319.7 kB / 0.5994 GB, free: 22.41 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5807, allocations: 2.625 kB / 0.5994 GB, free: 22.41 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001158/0.5818, allocations: 249.6 kB / 0.5996 GB, free: 22.38 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007319/0.5826, allocations: 244.4 kB / 0.5998 GB, free: 22.25 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001478/0.5841, allocations: 496.7 kB / 0.6003 GB, free: 22.24 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.5841, allocations: 0 / 0.6003 GB, free: 22.24 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005132/0.5846, allocations: 181.3 kB / 0.6005 GB, free: 22.23 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/0.5862, allocations: 261.2 kB / 0.6007 GB, free: 22.21 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.5878, allocations: 0.9795 MB / 0.6017 GB, free: 21.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004809/0.5883, allocations: 0.8555 MB / 0.6025 GB, free: 20.97 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005059/0.5888, allocations: 115.1 kB / 0.6026 GB, free: 20.95 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.5889, allocations: 41.95 kB / 0.6027 GB, free: 20.95 MB / 462.1 MB Notification: Performance of SimCode: time 8.71e-07/0.5889, allocations: 0 / 0.6027 GB, free: 20.95 MB / 462.1 MB Notification: Performance of Templates: time 0.02146/0.6104, allocations: 9.592 MB / 0.612 GB, free: 18.5 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)