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.000854/0.0008541, allocations: 93.42 kB / 16.02 MB, free: 84 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.0008596/0.0008597, allocations: 183.9 kB / 16.92 MB, free: 6.914 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.395/1.395, allocations: 223.3 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.7562/0.7562, allocations: 115.5 MB / 407.6 MB, free: 2.734 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003692, allocations: 12.94 kB / 495.9 MB, free: 6.398 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1904, allocations: 77.53 MB / 0.56 GB, free: 9.078 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.02088/0.2113, allocations: 20.03 MB / 0.5795 GB, free: 4.973 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007035/0.2184, allocations: 4.916 MB / 0.5843 GB, free: 44 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006818/0.2191, allocations: 15.88 kB / 0.5843 GB, free: 28 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3105/0.5296, allocations: 222.5 kB / 0.5845 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002763/0.5324, allocations: 0.7497 MB / 0.5853 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001944/0.5343, allocations: 0.6324 MB / 0.5859 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002787/0.5371, allocations: 1.818 MB / 0.5877 GB, free: 10.49 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007646/0.5379, allocations: 371.1 kB / 0.588 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001207/0.5391, allocations: 0.5112 MB / 0.5885 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007715/0.5399, allocations: 448.1 kB / 0.5889 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.905e-05/0.54, allocations: 23.81 kB / 0.589 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00153/0.5415, allocations: 0.6007 MB / 0.5896 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001656/0.5417, allocations: 106.7 kB / 0.5897 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003179/0.542, allocations: 299.4 kB / 0.5899 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.5433, allocations: 0.8073 MB / 0.5907 GB, free: 10.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.5433, allocations: 0.7031 kB / 0.5907 GB, free: 10.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5433, allocations: 0.7188 kB / 0.5907 GB, free: 10.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.5433, allocations: 0 / 0.5907 GB, free: 10.21 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.001568/0.5449, allocations: 0.8351 MB / 0.5916 GB, free: 25.62 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.5449, allocations: 9.5 kB / 0.5916 GB, free: 25.62 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.545, allocations: 68.02 kB / 0.5916 GB, free: 25.59 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005914/0.5456, allocations: 447.6 kB / 0.5921 GB, free: 25.32 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.5457, allocations: 29.75 kB / 0.5921 GB, free: 25.31 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.919e-05/0.5457, allocations: 37.66 kB / 0.5921 GB, free: 25.31 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006765/0.5464, allocations: 322.5 kB / 0.5924 GB, free: 25.27 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.5465, allocations: 0 / 0.5924 GB, free: 25.27 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.1e-05/0.5465, allocations: 10.47 kB / 0.5924 GB, free: 25.27 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.5465, allocations: 7.281 kB / 0.5924 GB, free: 25.27 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006808/0.5472, allocations: 282 kB / 0.5927 GB, free: 25.27 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.002269/0.5495, allocations: 1.359 MB / 0.594 GB, free: 24.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005737/0.5501, allocations: 272.5 kB / 0.5943 GB, free: 24.55 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003473/0.5504, allocations: 146.8 kB / 0.5944 GB, free: 24.55 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000363/0.5508, allocations: 0.4941 MB / 0.5949 GB, free: 23.98 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.5508, allocations: 40.06 kB / 0.595 GB, free: 23.94 MB / 462.1 MB Notification: Performance of pre-optimization done (n=25): time 1.463e-06/0.5508, allocations: 1.375 kB / 0.595 GB, free: 23.94 MB / 462.1 MB Notification: Performance of matching and sorting (n=25): time 0.001881/0.5527, allocations: 0.5839 MB / 0.5955 GB, free: 23.77 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.5528, allocations: 54.5 kB / 0.5956 GB, free: 23.71 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005986/0.5534, allocations: 475.5 kB / 0.596 GB, free: 23.58 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.5534, allocations: 32.2 kB / 0.5961 GB, free: 23.55 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.5536, allocations: 243.3 kB / 0.5963 GB, free: 23.44 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.273e-05/0.5537, allocations: 86.14 kB / 0.5964 GB, free: 23.38 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-05/0.5537, allocations: 36.44 kB / 0.5964 GB, free: 23.37 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.5539, allocations: 356.7 kB / 0.5968 GB, free: 23.05 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/0.5542, allocations: 130.8 kB / 0.5969 GB, free: 23.05 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003988/0.5546, allocations: 193.2 kB / 0.5971 GB, free: 23 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006725/0.5553, allocations: 296 kB / 0.5973 GB, free: 22.96 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5553, allocations: 0 / 0.5973 GB, free: 22.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001647/0.557, allocations: 0.5028 MB / 0.5978 GB, free: 22.88 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.572e-05/0.5571, allocations: 103.8 kB / 0.5979 GB, free: 22.78 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.5571, allocations: 1.234 kB / 0.5979 GB, free: 22.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003667/0.5574, allocations: 57.06 kB / 0.598 GB, free: 22.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003807/0.5578, allocations: 78.48 kB / 0.5981 GB, free: 22.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004359/0.5583, allocations: 0.5615 MB / 0.5986 GB, free: 22.24 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005589/0.5589, allocations: 72.88 kB / 0.5987 GB, free: 22.22 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.651e-05/0.5589, allocations: 15.8 kB / 0.5987 GB, free: 22.22 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.5589, allocations: 3.281 kB / 0.5987 GB, free: 22.22 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008236/0.5598, allocations: 319.6 kB / 0.599 GB, free: 22.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-06/0.5598, allocations: 0.9531 kB / 0.599 GB, free: 22.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.489e-06/0.5598, allocations: 3.125 kB / 0.599 GB, free: 22.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004061/0.5602, allocations: 88.64 kB / 0.5991 GB, free: 22.21 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.5602, allocations: 6.266 kB / 0.5991 GB, free: 22.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004696/0.5607, allocations: 69.97 kB / 0.5992 GB, free: 22.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.5607, allocations: 19.2 kB / 0.5992 GB, free: 22.18 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.0003144/0.561, allocations: 247.3 kB / 0.5994 GB, free: 21.99 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.872e-05/0.5611, allocations: 48.72 kB / 0.5995 GB, free: 21.97 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.5623, allocations: 438.2 kB / 0.5999 GB, free: 21.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.5623, allocations: 6.312 kB / 0.5999 GB, free: 21.9 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.5623, allocations: 0.5625 kB / 0.5999 GB, free: 21.9 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.5623, allocations: 2.562 kB / 0.5999 GB, free: 21.9 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/0.5642, allocations: 0.978 MB / 0.6009 GB, free: 21.54 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.5642, allocations: 0 / 0.6009 GB, free: 21.54 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.5645, allocations: 55.28 kB / 0.6009 GB, free: 21.54 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001802/0.5647, allocations: 39.48 kB / 0.6009 GB, free: 21.53 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/0.5647, allocations: 13.12 kB / 0.601 GB, free: 21.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003973/0.5651, allocations: 0.5635 MB / 0.6015 GB, free: 21 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.5651, allocations: 2.344 kB / 0.6015 GB, free: 21 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009839/0.5661, allocations: 0.5108 MB / 0.602 GB, free: 20.79 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/0.5663, allocations: 155.8 kB / 0.6022 GB, free: 20.67 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.92e-05/0.5664, allocations: 7.359 kB / 0.6022 GB, free: 20.67 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003731/0.5668, allocations: 46.66 kB / 0.6022 GB, free: 20.66 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.406e-05/0.5668, allocations: 21.75 kB / 0.6022 GB, free: 20.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.5669, allocations: 13.25 kB / 0.6022 GB, free: 20.66 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004186/0.5673, allocations: 320.2 kB / 0.6025 GB, free: 20.57 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5673, allocations: 0 / 0.6025 GB, free: 20.57 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009663/0.5683, allocations: 254.5 kB / 0.6028 GB, free: 20.54 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.0005948/0.5689, allocations: 253.8 kB / 0.603 GB, free: 20.41 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001289/0.5702, allocations: 497.8 kB / 0.6035 GB, free: 20.39 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5702, allocations: 1.188 kB / 0.6035 GB, free: 20.39 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004206/0.5706, allocations: 184.2 kB / 0.6037 GB, free: 20.39 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.5722, allocations: 255.5 kB / 0.6039 GB, free: 20.37 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.5737, allocations: 1.018 MB / 0.6049 GB, free: 19.79 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004545/0.5741, allocations: 0.8553 MB / 0.6058 GB, free: 19.08 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004651/0.5746, allocations: 117.9 kB / 0.6059 GB, free: 19.05 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.977e-05/0.5747, allocations: 46.47 kB / 0.6059 GB, free: 19.04 MB / 462.1 MB Notification: Performance of SimCode: time 4.21e-07/0.5747, allocations: 0 / 0.6059 GB, free: 19.04 MB / 462.1 MB Notification: Performance of Templates: time 0.01967/0.5944, allocations: 9.868 MB / 0.6155 GB, free: 15.64 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)