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.001532/0.001532, allocations: 105.3 kB / 15.98 MB, free: 6.348 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.001841/0.001841, allocations: 195.9 kB / 16.91 MB, free: 6.191 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.403/1.403, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7892/0.7892, allocations: 122.9 MB / 413.6 MB, free: 15.97 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 59.91 kB / 0.4906 GB, free: 7.852 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3785, allocations: 77.92 MB / 0.5667 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.02212/0.4006, allocations: 20.6 MB / 0.5868 GB, free: 18.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009397/0.4101, allocations: 4.927 MB / 0.5916 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.4112, allocations: 17.19 kB / 0.5916 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009303/0.4122, allocations: 237.5 kB / 0.5918 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002629/0.4148, allocations: 0.759 MB / 0.5926 GB, free: 13.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002135/0.417, allocations: 0.64 MB / 0.5932 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001978/0.419, allocations: 1.395 MB / 0.5946 GB, free: 12.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006273/0.4196, allocations: 423.1 kB / 0.595 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001147/0.4208, allocations: 0.5858 MB / 0.5956 GB, free: 11.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006226/0.4214, allocations: 465.9 kB / 0.596 GB, free: 11.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.317e-05/0.4215, allocations: 38.41 kB / 0.596 GB, free: 11.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001507/0.423, allocations: 0.6316 MB / 0.5967 GB, free: 10.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.4232, allocations: 125.7 kB / 0.5968 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003185/0.4235, allocations: 291.7 kB / 0.597 GB, free: 10.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.4248, allocations: 0.8342 MB / 0.5979 GB, free: 10.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4248, allocations: 4 kB / 0.5979 GB, free: 10.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.4248, allocations: 1.344 kB / 0.5979 GB, free: 10.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.4248, allocations: 0 / 0.5979 GB, free: 10.04 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.001584/0.4264, allocations: 0.9216 MB / 0.5988 GB, free: 9.285 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.4265, allocations: 9 kB / 0.5988 GB, free: 9.285 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.4266, allocations: 63.81 kB / 0.5988 GB, free: 9.254 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005648/0.4272, allocations: 451.3 kB / 0.5993 GB, free: 8.859 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.267e-05/0.4272, allocations: 26.5 kB / 0.5993 GB, free: 8.844 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.034e-05/0.4273, allocations: 36.34 kB / 0.5993 GB, free: 8.832 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007125/0.428, allocations: 315 kB / 0.5996 GB, free: 8.645 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.4281, allocations: 0 / 0.5996 GB, free: 8.645 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/0.4281, allocations: 10.62 kB / 0.5996 GB, free: 8.637 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.4281, allocations: 6.625 kB / 0.5996 GB, free: 8.637 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00063/0.4288, allocations: 259.3 kB / 0.5999 GB, free: 8.523 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.002107/0.4309, allocations: 1.34 MB / 0.6012 GB, free: 7.371 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005136/0.4314, allocations: 254.8 kB / 0.6014 GB, free: 7.172 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002552/0.4317, allocations: 137.6 kB / 0.6016 GB, free: 7.035 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004095/0.4321, allocations: 0.4947 MB / 0.6021 GB, free: 6.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.4321, allocations: 42.56 kB / 0.6021 GB, free: 6.379 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 1.804e-06/0.4321, allocations: 0 / 0.6021 GB, free: 6.379 MB / 446.1 MB Notification: Performance of matching and sorting (n=25): time 0.001609/0.4337, allocations: 0.5574 MB / 0.6026 GB, free: 5.797 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.4338, allocations: 59.62 kB / 0.6027 GB, free: 5.727 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003977/0.4342, allocations: 466.1 kB / 0.6031 GB, free: 5.262 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.4342, allocations: 41.58 kB / 0.6032 GB, free: 5.215 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.4344, allocations: 236.5 kB / 0.6034 GB, free: 4.977 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.782e-05/0.4344, allocations: 94.67 kB / 0.6035 GB, free: 4.883 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.4345, allocations: 77.59 kB / 0.6036 GB, free: 4.801 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.804e-05/0.4346, allocations: 358.8 kB / 0.6039 GB, free: 4.441 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002672/0.4349, allocations: 128.8 kB / 0.604 GB, free: 4.312 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003038/0.4352, allocations: 177 kB / 0.6042 GB, free: 4.121 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005059/0.4357, allocations: 271.7 kB / 0.6045 GB, free: 3.848 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.4358, allocations: 0 / 0.6045 GB, free: 3.848 MB / 446.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001381/0.4371, allocations: 492.1 kB / 0.6049 GB, free: 3.359 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.4372, allocations: 11.94 kB / 0.6049 GB, free: 3.348 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.4372, allocations: 0 / 0.6049 GB, free: 3.348 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003944/0.4376, allocations: 52.81 kB / 0.605 GB, free: 3.293 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003418/0.4379, allocations: 71.89 kB / 0.6051 GB, free: 3.223 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003454/0.4383, allocations: 0.564 MB / 0.6056 GB, free: 2.633 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005294/0.4388, allocations: 67.61 kB / 0.6057 GB, free: 2.566 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.035e-05/0.4389, allocations: 11.98 kB / 0.6057 GB, free: 2.555 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003667/0.4393, allocations: 243.8 kB / 0.6059 GB, free: 2.312 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002803/0.4395, allocations: 173.7 kB / 0.6061 GB, free: 2.125 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000465/0.44, allocations: 261.6 kB / 0.6063 GB, free: 1.863 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.192e-06/0.44, allocations: 0 / 0.6063 GB, free: 1.863 MB / 446.1 MB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0006559/0.4407, allocations: 373.9 kB / 0.6067 GB, free: 1.492 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/0.4407, allocations: 4 kB / 0.6067 GB, free: 1.488 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-06/0.4407, allocations: 4 kB / 0.6067 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-06/0.4407, allocations: 0 / 0.6067 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003569/0.4411, allocations: 83.83 kB / 0.6068 GB, free: 1.402 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.4411, allocations: 3.984 kB / 0.6068 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004491/0.4415, allocations: 63.72 kB / 0.6068 GB, free: 1.336 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/0.4416, allocations: 15.98 kB / 0.6069 GB, free: 1.32 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.0001155/0.4417, allocations: 196.2 kB / 0.6071 GB, free: 1.121 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.838e-05/0.4418, allocations: 51.34 kB / 0.6071 GB, free: 1.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008578/0.4427, allocations: 417.6 kB / 0.6075 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.4427, allocations: 4 kB / 0.6075 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4427, allocations: 0 / 0.6075 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.4427, allocations: 7.984 kB / 0.6075 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.4441, allocations: 0.9517 MB / 0.6084 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.4442, allocations: 7.938 kB / 0.6084 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/0.4444, allocations: 47.97 kB / 0.6085 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001727/0.4446, allocations: 49.02 kB / 0.6085 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/0.4446, allocations: 8 kB / 0.6085 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000382/0.445, allocations: 0.5563 MB / 0.6091 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.445, allocations: 3.938 kB / 0.6091 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008057/0.4458, allocations: 491.7 kB / 0.6096 GB, free: 14.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/0.446, allocations: 148.4 kB / 0.6097 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.726e-05/0.4461, allocations: 11.98 kB / 0.6097 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003626/0.4464, allocations: 39.88 kB / 0.6098 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.738e-05/0.4466, allocations: 23.91 kB / 0.6098 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.957e-05/0.4466, allocations: 15.98 kB / 0.6098 GB, free: 14.15 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004271/0.447, allocations: 322.9 kB / 0.6101 GB, free: 13.84 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.447, allocations: 4 kB / 0.6101 GB, free: 13.83 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008717/0.4479, allocations: 255.5 kB / 0.6103 GB, free: 13.58 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.0006162/0.4485, allocations: 250.9 kB / 0.6106 GB, free: 13.34 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.4498, allocations: 478.4 kB / 0.611 GB, free: 12.88 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.4498, allocations: 7.938 kB / 0.6111 GB, free: 12.87 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004177/0.4503, allocations: 174.2 kB / 0.6112 GB, free: 12.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.4514, allocations: 224.8 kB / 0.6114 GB, free: 12.49 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.453, allocations: 0.9902 MB / 0.6124 GB, free: 11.46 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/0.4534, allocations: 0.8587 MB / 0.6132 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004213/0.4539, allocations: 116.1 kB / 0.6133 GB, free: 10.46 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.539e-05/0.454, allocations: 43.42 kB / 0.6134 GB, free: 10.42 MB / 462.1 MB Notification: Performance of SimCode: time 3.21e-07/0.454, allocations: 0 / 0.6134 GB, free: 10.42 MB / 462.1 MB Notification: Performance of Templates: time 0.01768/0.4717, allocations: 9.976 MB / 0.6231 GB, free: 0.625 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)