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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 84.22 kB / 20.94 MB, free: 3.609 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00098/0.00098, allocations: 169.3 kB / 24.25 MB, free: 308 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.008/1.008, allocations: 177.1 MB / 204.6 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.688/0.688, allocations: 115 MB / 376 MB, free: 7.66 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve") translateModel(IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 481.5 MB, free: 11.95 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.911e-05, allocations: 3.219 kB / 481.5 MB, free: 11.95 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.02186/0.02189, allocations: 21.56 MB / 0.4913 GB, free: 13.68 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.009229/0.03112, allocations: 5.277 MB / 0.4964 GB, free: 10.15 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.03225, allocations: 26.44 kB / 0.4965 GB, free: 10.14 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001119/0.03337, allocations: 281.2 kB / 0.4967 GB, free: 9.969 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003932/0.03731, allocations: 1.085 MB / 0.4978 GB, free: 9.359 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002186/0.03949, allocations: 0.6653 MB / 0.4984 GB, free: 9.039 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002812/0.0423, allocations: 1.425 MB / 0.4998 GB, free: 8.371 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000772/0.04308, allocations: 393.4 kB / 0.5002 GB, free: 8.137 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001973/0.04505, allocations: 0.8752 MB / 0.5011 GB, free: 7.762 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008874/0.04594, allocations: 454.5 kB / 0.5015 GB, free: 7.457 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.04606, allocations: 52 kB / 0.5015 GB, free: 7.406 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001593/0.04765, allocations: 0.5697 MB / 0.5021 GB, free: 6.953 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001886/0.04784, allocations: 165.1 kB / 0.5022 GB, free: 6.82 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003084/0.04815, allocations: 223 kB / 0.5025 GB, free: 6.625 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001634/0.04978, allocations: 0.8361 MB / 0.5033 GB, free: 5.957 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.04978, allocations: 0 / 0.5033 GB, free: 5.957 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.04979, allocations: 0 / 0.5033 GB, free: 5.957 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.0498, allocations: 0 / 0.5033 GB, free: 5.957 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.002139/0.05194, allocations: 1.047 MB / 0.5043 GB, free: 4.965 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.05198, allocations: 11.09 kB / 0.5043 GB, free: 4.957 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/0.05346, allocations: 266 kB / 0.5046 GB, free: 4.781 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009611/0.05442, allocations: 0.5105 MB / 0.5051 GB, free: 4.316 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.778e-05/0.05446, allocations: 28.5 kB / 0.5051 GB, free: 4.285 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-05/0.05453, allocations: 32.61 kB / 0.5051 GB, free: 4.254 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006556/0.05518, allocations: 282.2 kB / 0.5054 GB, free: 4.039 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.05519, allocations: 0.5625 kB / 0.5054 GB, free: 4.039 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.88e-05/0.05523, allocations: 12 kB / 0.5054 GB, free: 4.027 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.05524, allocations: 4 kB / 0.5054 GB, free: 4.023 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003902/0.05563, allocations: 146.9 kB / 0.5055 GB, free: 3.906 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002028/0.05766, allocations: 1.046 MB / 0.5066 GB, free: 3.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005142/0.05818, allocations: 205.4 kB / 0.5068 GB, free: 2.824 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/0.05836, allocations: 92.34 kB / 0.5069 GB, free: 2.742 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001914/0.05855, allocations: 50.44 kB / 0.5069 GB, free: 2.699 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.05858, allocations: 33.39 kB / 0.5069 GB, free: 2.656 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 2.034e-06/0.05858, allocations: 0 / 0.5069 GB, free: 2.656 MB / 426.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007939/0.05938, allocations: 287.8 kB / 0.5072 GB, free: 2.371 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.05942, allocations: 63.28 kB / 0.5073 GB, free: 2.297 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006645/0.06008, allocations: 0.5611 MB / 0.5078 GB, free: 1.719 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.426e-05/0.06012, allocations: 30.89 kB / 0.5078 GB, free: 1.684 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/0.06036, allocations: 315.7 kB / 0.5081 GB, free: 1.371 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.775e-05/0.06044, allocations: 71.36 kB / 0.5082 GB, free: 1.301 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.06067, allocations: 132.2 kB / 0.5083 GB, free: 1.164 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.06086, allocations: 0.5332 MB / 0.5089 GB, free: 0.6211 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.06116, allocations: 113.6 kB / 0.509 GB, free: 0.5039 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005029/0.06167, allocations: 471.1 kB / 0.5094 GB, free: 15.95 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005495/0.06222, allocations: 239.6 kB / 0.5096 GB, free: 15.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.06222, allocations: 0.875 kB / 0.5096 GB, free: 15.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002452/0.06467, allocations: 0.596 MB / 0.5102 GB, free: 15.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.06469, allocations: 4 kB / 0.5102 GB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.0647, allocations: 3.938 kB / 0.5102 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001941/0.06664, allocations: 256 kB / 0.5105 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005156/0.06716, allocations: 103.9 kB / 0.5106 GB, free: 14.74 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009088/0.06807, allocations: 0.8273 MB / 0.5114 GB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006642/0.06873, allocations: 55.84 kB / 0.5114 GB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.081e-05/0.06881, allocations: 23.98 kB / 0.5115 GB, free: 13.8 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005156/0.06933, allocations: 231.8 kB / 0.5117 GB, free: 13.57 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005154/0.06984, allocations: 479.1 kB / 0.5121 GB, free: 13 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005713/0.07042, allocations: 227.6 kB / 0.5124 GB, free: 12.76 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.996e-06/0.07042, allocations: 4.062 kB / 0.5124 GB, free: 12.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0011/0.07152, allocations: 415.6 kB / 0.5128 GB, free: 12.35 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.07154, allocations: 4 kB / 0.5128 GB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.07154, allocations: 0 / 0.5128 GB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.07155, allocations: 4 kB / 0.5128 GB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005844/0.07214, allocations: 119.8 kB / 0.5129 GB, free: 12.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.07214, allocations: 4 kB / 0.5129 GB, free: 12.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005872/0.07273, allocations: 71.75 kB / 0.513 GB, free: 12.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.214e-05/0.07279, allocations: 19.92 kB / 0.513 GB, free: 12.13 MB / 442.7 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 (50): * Single equations (assignments): 49 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002333/0.07303, allocations: 292 kB / 0.5133 GB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.07319, allocations: 59.66 kB / 0.5133 GB, free: 11.78 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008318/0.07402, allocations: 286.5 kB / 0.5136 GB, free: 11.49 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/0.07404, allocations: 7.984 kB / 0.5136 GB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.07404, allocations: 0 / 0.5136 GB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.07405, allocations: 0 / 0.5136 GB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002018/0.07607, allocations: 0.855 MB / 0.5144 GB, free: 10.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.07607, allocations: 0 / 0.5144 GB, free: 10.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/0.07725, allocations: 139.8 kB / 0.5146 GB, free: 10.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/0.07726, allocations: 7.938 kB / 0.5146 GB, free: 10.43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/0.0773, allocations: 4 kB / 0.5146 GB, free: 10.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000992/0.07829, allocations: 0.9557 MB / 0.5155 GB, free: 9.438 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.07829, allocations: 4.156 kB / 0.5155 GB, free: 9.434 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008896/0.07918, allocations: 444.9 kB / 0.5159 GB, free: 8.965 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002802/0.07946, allocations: 91.66 kB / 0.516 GB, free: 8.875 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.07957, allocations: 8 kB / 0.516 GB, free: 8.867 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000423/0.07999, allocations: 31.97 kB / 0.5161 GB, free: 8.836 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.558e-05/0.08008, allocations: 19.91 kB / 0.5161 GB, free: 8.816 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.403e-05/0.08012, allocations: 11.98 kB / 0.5161 GB, free: 8.805 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000521/0.08064, allocations: 378.7 kB / 0.5164 GB, free: 8.438 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.08064, allocations: 4 kB / 0.5164 GB, free: 8.434 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001339/0.08198, allocations: 343.3 kB / 0.5168 GB, free: 8.098 MB / 442.7 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006325/0.08262, allocations: 266 kB / 0.517 GB, free: 7.828 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.08405, allocations: 462.8 kB / 0.5175 GB, free: 7.367 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.08405, allocations: 0 / 0.5175 GB, free: 7.367 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001277/0.08533, allocations: 204.8 kB / 0.5177 GB, free: 7.164 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.08646, allocations: 212.5 kB / 0.5179 GB, free: 6.961 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/0.08891, allocations: 0.8217 MB / 0.5187 GB, free: 6.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.08903, allocations: 121.9 kB / 0.5188 GB, free: 5.949 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007756/0.08981, allocations: 164.2 kB / 0.5189 GB, free: 5.789 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002344/0.09004, allocations: 48.48 kB / 0.519 GB, free: 5.742 MB / 442.7 MB Notification: Performance of SimCode: time 1.994e-06/0.09004, allocations: 4 kB / 0.519 GB, free: 5.738 MB / 442.7 MB Notification: Performance of Templates: time 0.02114/0.1112, allocations: 14.97 MB / 0.5336 GB, free: 7.027 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.makefile [Timeout 660] (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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.224227885948494]