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.001255/0.001255, allocations: 104.9 kB / 16.27 MB, free: 5.98 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.001559/0.001559, allocations: 187.7 kB / 17.19 MB, free: 5.609 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.424/1.424, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8168/0.8168, allocations: 126.1 MB / 417.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 55.91 kB / 0.495 GB, free: 3.523 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4742/0.4759, allocations: 78.7 MB / 0.5718 GB, free: 31.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.02284/0.4988, allocations: 20.71 MB / 0.592 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007495/0.5063, allocations: 4.956 MB / 0.5969 GB, free: 11.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.5075, allocations: 19.59 kB / 0.5969 GB, free: 11.4 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.5086, allocations: 275.3 kB / 0.5972 GB, free: 11.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002893/0.5115, allocations: 0.8164 MB / 0.598 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002078/0.5136, allocations: 0.6981 MB / 0.5986 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002114/0.5158, allocations: 1.399 MB / 0.6 GB, free: 9.223 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007921/0.5166, allocations: 438.4 kB / 0.6004 GB, free: 8.953 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001376/0.518, allocations: 0.5619 MB / 0.601 GB, free: 8.637 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006161/0.5186, allocations: 458 kB / 0.6014 GB, free: 8.363 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.969e-05/0.5187, allocations: 36 kB / 0.6014 GB, free: 8.328 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.5199, allocations: 0.6277 MB / 0.6021 GB, free: 7.699 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.5201, allocations: 123.5 kB / 0.6022 GB, free: 7.578 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002169/0.5203, allocations: 294.3 kB / 0.6025 GB, free: 7.289 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008527/0.5212, allocations: 0.8353 MB / 0.6033 GB, free: 6.453 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.5212, allocations: 0 / 0.6033 GB, free: 6.453 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.5212, allocations: 0 / 0.6033 GB, free: 6.453 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.5212, allocations: 0 / 0.6033 GB, free: 6.453 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.001219/0.5224, allocations: 0.9265 MB / 0.6042 GB, free: 5.477 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.5225, allocations: 8.031 kB / 0.6042 GB, free: 5.469 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.5226, allocations: 64.19 kB / 0.6042 GB, free: 5.406 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000442/0.523, allocations: 458.8 kB / 0.6047 GB, free: 4.918 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.523, allocations: 24.66 kB / 0.6047 GB, free: 4.891 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.742e-05/0.5231, allocations: 32 kB / 0.6047 GB, free: 4.859 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005231/0.5236, allocations: 309.9 kB / 0.605 GB, free: 4.551 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.5236, allocations: 0 / 0.605 GB, free: 4.551 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/0.5237, allocations: 8 kB / 0.605 GB, free: 4.543 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.5237, allocations: 8 kB / 0.605 GB, free: 4.535 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005142/0.5242, allocations: 266.4 kB / 0.6053 GB, free: 4.277 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.001717/0.5259, allocations: 1.352 MB / 0.6066 GB, free: 2.805 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004322/0.5264, allocations: 255.4 kB / 0.6069 GB, free: 2.547 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002537/0.5266, allocations: 136.8 kB / 0.607 GB, free: 2.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000331/0.527, allocations: 0.4947 MB / 0.6075 GB, free: 1.805 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.527, allocations: 38.56 kB / 0.6075 GB, free: 1.758 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 1.352e-06/0.527, allocations: 0 / 0.6075 GB, free: 1.758 MB / 446.1 MB Notification: Performance of matching and sorting (n=25): time 0.001544/0.5286, allocations: 0.5571 MB / 0.6081 GB, free: 1.176 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/0.5286, allocations: 55.41 kB / 0.6081 GB, free: 1.109 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003525/0.529, allocations: 470.3 kB / 0.6086 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.529, allocations: 29.7 kB / 0.6086 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.5291, allocations: 252.4 kB / 0.6088 GB, free: 364 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.819e-05/0.5292, allocations: 82.75 kB / 0.6089 GB, free: 280 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.406e-05/0.5293, allocations: 77.53 kB / 0.609 GB, free: 196 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5294, allocations: 358.8 kB / 0.6093 GB, free: 15.83 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003165/0.5297, allocations: 128.8 kB / 0.6094 GB, free: 15.7 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003632/0.5301, allocations: 181 kB / 0.6096 GB, free: 15.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006177/0.5307, allocations: 280.6 kB / 0.6099 GB, free: 15.22 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5308, allocations: 0 / 0.6099 GB, free: 15.22 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001567/0.5323, allocations: 484.8 kB / 0.6103 GB, free: 14.74 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.5324, allocations: 4 kB / 0.6103 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.5324, allocations: 3.938 kB / 0.6104 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003637/0.5327, allocations: 60.75 kB / 0.6104 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003443/0.5331, allocations: 67.89 kB / 0.6105 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000444/0.5336, allocations: 0.5679 MB / 0.611 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004021/0.534, allocations: 51.67 kB / 0.6111 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.921e-05/0.534, allocations: 12 kB / 0.6111 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004376/0.5345, allocations: 251.8 kB / 0.6113 GB, free: 13.7 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000335/0.5348, allocations: 173.4 kB / 0.6115 GB, free: 13.51 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006085/0.5354, allocations: 256.6 kB / 0.6117 GB, free: 13.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.5354, allocations: 4 kB / 0.6117 GB, free: 13.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007617/0.5362, allocations: 370 kB / 0.6121 GB, free: 12.88 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.5362, allocations: 6.031 kB / 0.6121 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.5362, allocations: 3.938 kB / 0.6121 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.446e-06/0.5362, allocations: 8 kB / 0.6121 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003824/0.5366, allocations: 83.88 kB / 0.6122 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.5366, allocations: 0 / 0.6122 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004024/0.5371, allocations: 43.8 kB / 0.6122 GB, free: 12.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.5371, allocations: 12 kB / 0.6122 GB, free: 12.73 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.0001673/0.5373, allocations: 200.2 kB / 0.6124 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.555e-05/0.5374, allocations: 51.36 kB / 0.6125 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009233/0.5383, allocations: 424 kB / 0.6129 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.5383, allocations: 4 kB / 0.6129 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.5383, allocations: 0 / 0.6129 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.5383, allocations: 0 / 0.6129 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.5398, allocations: 0.9646 MB / 0.6138 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.5399, allocations: 0 / 0.6138 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002305/0.5401, allocations: 43.97 kB / 0.6139 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001695/0.5403, allocations: 44.95 kB / 0.6139 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.5403, allocations: 4 kB / 0.6139 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003963/0.5407, allocations: 0.568 MB / 0.6145 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.5407, allocations: 0 / 0.6145 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000775/0.5415, allocations: 491.7 kB / 0.615 GB, free: 9.809 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.5417, allocations: 156.4 kB / 0.6151 GB, free: 9.637 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.492e-05/0.5417, allocations: 11.94 kB / 0.6151 GB, free: 9.625 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003235/0.5421, allocations: 23.95 kB / 0.6151 GB, free: 9.602 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.531e-05/0.5422, allocations: 23.92 kB / 0.6152 GB, free: 9.578 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/0.5422, allocations: 15.98 kB / 0.6152 GB, free: 9.562 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004089/0.5426, allocations: 318.9 kB / 0.6155 GB, free: 9.254 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5426, allocations: 0 / 0.6155 GB, free: 9.254 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007387/0.5433, allocations: 251.5 kB / 0.6157 GB, free: 9.008 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.0005336/0.5439, allocations: 257.8 kB / 0.616 GB, free: 8.758 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.5451, allocations: 482.8 kB / 0.6164 GB, free: 8.289 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.5451, allocations: 0 / 0.6164 GB, free: 8.289 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004039/0.5456, allocations: 172.6 kB / 0.6166 GB, free: 8.121 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.5467, allocations: 233.6 kB / 0.6168 GB, free: 7.906 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.5483, allocations: 0.8254 MB / 0.6176 GB, free: 7.039 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000495/0.5488, allocations: 0.8588 MB / 0.6185 GB, free: 6.152 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004368/0.5492, allocations: 118.8 kB / 0.6186 GB, free: 6.039 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.5493, allocations: 39.42 kB / 0.6186 GB, free: 6 MB / 462.1 MB Notification: Performance of SimCode: time 3.81e-07/0.5493, allocations: 3.938 kB / 0.6186 GB, free: 5.996 MB / 462.1 MB Notification: Performance of Templates: time 0.02389/0.5732, allocations: 10.11 MB / 0.6285 GB, free: 12.07 MB / 478.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)