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.001505/0.001505, allocations: 105.1 kB / 15.99 MB, free: 6.359 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.001321/0.001321, allocations: 195.2 kB / 16.91 MB, free: 6.195 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.411/1.411, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8152/0.8152, allocations: 126.1 MB / 416.8 MB, free: 12.97 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 67.89 kB / 0.4945 GB, free: 3.812 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4891/0.4904, allocations: 78.7 MB / 0.5713 GB, free: 31.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.02078/0.5112, allocations: 20.6 MB / 0.5914 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008204/0.5195, allocations: 4.919 MB / 0.5962 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.5208, allocations: 17.19 kB / 0.5963 GB, free: 11.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.522, allocations: 228 kB / 0.5965 GB, free: 11.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002967/0.525, allocations: 0.7596 MB / 0.5972 GB, free: 10.94 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002322/0.5274, allocations: 0.646 MB / 0.5978 GB, free: 10.49 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002365/0.5297, allocations: 1.394 MB / 0.5992 GB, free: 9.699 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007999/0.5306, allocations: 431.2 kB / 0.5996 GB, free: 9.434 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001455/0.532, allocations: 0.5825 MB / 0.6002 GB, free: 9.098 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007718/0.5328, allocations: 462.6 kB / 0.6006 GB, free: 8.789 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.294e-05/0.5329, allocations: 36 kB / 0.6007 GB, free: 8.754 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.5343, allocations: 0.6394 MB / 0.6013 GB, free: 8.113 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.5344, allocations: 127.5 kB / 0.6014 GB, free: 7.988 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002866/0.5347, allocations: 294.4 kB / 0.6017 GB, free: 7.699 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.5357, allocations: 0.8275 MB / 0.6025 GB, free: 6.871 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.5358, allocations: 0 / 0.6025 GB, free: 6.871 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5358, allocations: 3.938 kB / 0.6025 GB, free: 6.867 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.5358, allocations: 0 / 0.6025 GB, free: 6.867 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.001379/0.5372, allocations: 0.9265 MB / 0.6034 GB, free: 5.891 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.5372, allocations: 16.03 kB / 0.6034 GB, free: 5.875 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.5373, allocations: 64.19 kB / 0.6035 GB, free: 5.812 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000474/0.5378, allocations: 450.8 kB / 0.6039 GB, free: 5.332 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.5378, allocations: 24.66 kB / 0.6039 GB, free: 5.305 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.152e-05/0.5379, allocations: 36 kB / 0.604 GB, free: 5.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005725/0.5385, allocations: 309.9 kB / 0.6043 GB, free: 4.965 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.5385, allocations: 8 kB / 0.6043 GB, free: 4.957 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.801e-05/0.5385, allocations: 8 kB / 0.6043 GB, free: 4.949 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.5386, allocations: 8 kB / 0.6043 GB, free: 4.941 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005307/0.5391, allocations: 262.4 kB / 0.6045 GB, free: 4.684 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.001805/0.5409, allocations: 1.341 MB / 0.6058 GB, free: 3.223 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004413/0.5414, allocations: 254.5 kB / 0.6061 GB, free: 2.965 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002527/0.5416, allocations: 136.8 kB / 0.6062 GB, free: 2.828 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004092/0.542, allocations: 0.4947 MB / 0.6067 GB, free: 2.223 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.5421, allocations: 38.56 kB / 0.6067 GB, free: 2.176 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 1.573e-06/0.5421, allocations: 4 kB / 0.6067 GB, free: 2.172 MB / 446.1 MB Notification: Performance of matching and sorting (n=25): time 0.001565/0.5437, allocations: 0.5574 MB / 0.6073 GB, free: 1.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.5437, allocations: 55.62 kB / 0.6073 GB, free: 1.523 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003727/0.5441, allocations: 466.1 kB / 0.6078 GB, free: 1.059 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.5441, allocations: 37.64 kB / 0.6078 GB, free: 1.016 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.5442, allocations: 240.5 kB / 0.608 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.196e-05/0.5443, allocations: 94.67 kB / 0.6081 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.5444, allocations: 77.59 kB / 0.6082 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.789e-05/0.5445, allocations: 354.8 kB / 0.6085 GB, free: 252 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/0.5448, allocations: 124.8 kB / 0.6087 GB, free: 124 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003414/0.5451, allocations: 177 kB / 0.6088 GB, free: 15.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005991/0.5457, allocations: 275.1 kB / 0.6091 GB, free: 15.65 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.5457, allocations: 0 / 0.6091 GB, free: 15.65 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001486/0.5472, allocations: 490.2 kB / 0.6096 GB, free: 15.16 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.5473, allocations: 7.938 kB / 0.6096 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.5473, allocations: 0 / 0.6096 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003746/0.5477, allocations: 56.83 kB / 0.6096 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/0.548, allocations: 67.89 kB / 0.6097 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004387/0.5485, allocations: 0.5679 MB / 0.6102 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005192/0.549, allocations: 75.66 kB / 0.6103 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.377e-05/0.5491, allocations: 15.98 kB / 0.6103 GB, free: 14.35 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004147/0.5495, allocations: 239.8 kB / 0.6106 GB, free: 14.11 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003382/0.5498, allocations: 177.4 kB / 0.6107 GB, free: 13.92 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005653/0.5504, allocations: 264.2 kB / 0.611 GB, free: 13.65 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.222e-06/0.5504, allocations: 0 / 0.611 GB, free: 13.65 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007665/0.5512, allocations: 369.5 kB / 0.6113 GB, free: 13.29 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.5512, allocations: 8 kB / 0.6113 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.5512, allocations: 3.938 kB / 0.6113 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.529e-06/0.5512, allocations: 4 kB / 0.6114 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.5516, allocations: 79.89 kB / 0.6114 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.5516, allocations: 4 kB / 0.6114 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004648/0.5521, allocations: 59.72 kB / 0.6115 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.5522, allocations: 19.98 kB / 0.6115 GB, free: 13.11 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.0001519/0.5523, allocations: 192.2 kB / 0.6117 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.062e-05/0.5524, allocations: 55.28 kB / 0.6117 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009719/0.5534, allocations: 420.1 kB / 0.6121 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.5534, allocations: 0 / 0.6121 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5534, allocations: 0 / 0.6121 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.5534, allocations: 7.984 kB / 0.6122 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.5549, allocations: 0.9533 MB / 0.6131 GB, free: 11.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.5549, allocations: 0 / 0.6131 GB, free: 11.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/0.5552, allocations: 47.97 kB / 0.6131 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001811/0.5554, allocations: 40.83 kB / 0.6132 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/0.5554, allocations: 11.98 kB / 0.6132 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003592/0.5558, allocations: 0.5602 MB / 0.6137 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.5558, allocations: 4.031 kB / 0.6137 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008095/0.5566, allocations: 491 kB / 0.6142 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/0.5568, allocations: 152.4 kB / 0.6143 GB, free: 10.03 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.781e-05/0.5569, allocations: 11.94 kB / 0.6144 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003703/0.5572, allocations: 35.88 kB / 0.6144 GB, free: 9.984 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.532e-05/0.5573, allocations: 23.97 kB / 0.6144 GB, free: 9.961 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.5574, allocations: 15.98 kB / 0.6144 GB, free: 9.945 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000361/0.5577, allocations: 318.9 kB / 0.6147 GB, free: 9.637 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5577, allocations: 7.938 kB / 0.6147 GB, free: 9.629 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008107/0.5586, allocations: 251.5 kB / 0.615 GB, free: 9.383 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.0005524/0.5591, allocations: 258.9 kB / 0.6152 GB, free: 9.133 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001202/0.5603, allocations: 482.2 kB / 0.6157 GB, free: 8.664 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.654e-06/0.5603, allocations: 3.938 kB / 0.6157 GB, free: 8.66 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004136/0.5608, allocations: 168.7 kB / 0.6159 GB, free: 8.496 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.5618, allocations: 217.9 kB / 0.6161 GB, free: 8.293 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.5633, allocations: 0.9918 MB / 0.617 GB, free: 7.262 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.5638, allocations: 0.8549 MB / 0.6179 GB, free: 6.379 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004451/0.5642, allocations: 116.3 kB / 0.618 GB, free: 6.266 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.5643, allocations: 51.3 kB / 0.618 GB, free: 6.215 MB / 462.1 MB Notification: Performance of SimCode: time 8.01e-07/0.5643, allocations: 0 / 0.618 GB, free: 6.215 MB / 462.1 MB Notification: Performance of Templates: time 0.01864/0.583, allocations: 9.967 MB / 0.6278 GB, free: 12.43 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)