Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState.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.0009052/0.0009052, allocations: 79.75 kB / 20.11 MB, free: 4.152 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.00107/0.00107, allocations: 156.5 kB / 23.55 MB, free: 0.7188 MB / 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 0.9089/0.9089, allocations: 177.1 MB / 204 MB, free: 5.395 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.04532/0.04532, allocations: 11.72 MB / 272.2 MB, free: 1.801 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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(HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState") translateModel(HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 291.6 MB, free: 17.51 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.154e-05/1.28e-05, allocations: 2.312 kB / 291.6 MB, free: 17.51 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState): time 0.04595/0.04596, allocations: 59.09 MB / 350.6 MB, free: 13.04 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03719/0.08315, allocations: 53.96 MB / 404.6 MB, free: 6.93 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002298/0.08338, allocations: 7.938 kB / 404.6 MB, free: 6.922 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008306/0.08421, allocations: 354.4 kB / 405 MB, free: 6.574 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03158/0.1158, allocations: 16.15 MB / 421.1 MB, free: 6.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01289/0.1287, allocations: 6.529 MB / 427.6 MB, free: 15.78 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.1939/0.3226, allocations: 59.15 MB / 486.8 MB, free: 38.79 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.293e-05/0.3226, allocations: 20.36 kB / 486.8 MB, free: 38.78 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003732/0.323, allocations: 334.9 kB / 487.1 MB, free: 38.7 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01414/0.3371, allocations: 25.55 MB / 0.5007 GB, free: 16.61 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 8.677e-05/0.3372, allocations: 12 kB / 0.5007 GB, free: 16.6 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02667/0.3639, allocations: 20.21 MB / 0.5204 GB, free: 1.422 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.3641, allocations: 270.3 kB / 0.5207 GB, free: 1.223 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000225/0.3643, allocations: 201.5 kB / 0.5209 GB, free: 1.066 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01945/0.3837, allocations: 9.621 MB / 0.5303 GB, free: 10.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3837, allocations: 0 / 0.5303 GB, free: 10.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3837, allocations: 4 kB / 0.5303 GB, free: 10.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.3838, allocations: 0 / 0.5303 GB, free: 10.68 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002861/0.3866, allocations: 2.18 MB / 0.5324 GB, free: 8.566 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.3866, allocations: 8.031 kB / 0.5324 GB, free: 8.559 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008132/0.3875, allocations: 318.9 kB / 0.5327 GB, free: 8.293 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004625/0.3879, allocations: 448.3 kB / 0.5331 GB, free: 7.898 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.388, allocations: 43.62 kB / 0.5332 GB, free: 7.875 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.3881, allocations: 104.7 kB / 0.5333 GB, free: 7.805 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006283/0.3887, allocations: 0.7311 MB / 0.534 GB, free: 7.125 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.3887, allocations: 0 / 0.534 GB, free: 7.125 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.698e-05/0.3888, allocations: 15.44 kB / 0.534 GB, free: 7.121 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.624e-05/0.3888, allocations: 53.09 kB / 0.5341 GB, free: 7.074 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005339/0.3893, allocations: 0.545 MB / 0.5346 GB, free: 6.582 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001844/0.3912, allocations: 1.166 MB / 0.5357 GB, free: 5.578 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006092/0.3918, allocations: 0.7592 MB / 0.5365 GB, free: 4.992 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.392, allocations: 208.3 kB / 0.5367 GB, free: 4.809 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06303/0.455, allocations: 56.52 MB / 0.5919 GB, free: 388 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1295/0.5845, allocations: 0.6127 MB / 0.5925 GB, free: 143.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=124): time 3.697e-06/0.5845, allocations: 0 / 0.5925 GB, free: 143.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=161): time 0.01902/0.6035, allocations: 7.092 MB / 0.5994 GB, free: 142.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.6036, allocations: 121 kB / 0.5995 GB, free: 142.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.6039, allocations: 494.8 kB / 0.6 GB, free: 142.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.544e-05/0.6039, allocations: 61.3 kB / 0.6 GB, free: 142.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.791e-05/0.604, allocations: 184.8 kB / 0.6002 GB, free: 142.1 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000257/0.6043, allocations: 0.6025 MB / 0.6008 GB, free: 141.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000403/0.6047, allocations: 451.5 kB / 0.6012 GB, free: 141.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.552e-05/0.6047, allocations: 320.3 kB / 0.6015 GB, free: 141.4 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000354/0.6051, allocations: 412 kB / 0.6019 GB, free: 141.4 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004095/0.6055, allocations: 0.6054 MB / 0.6025 GB, free: 141.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008914/0.6064, allocations: 1.246 MB / 0.6037 GB, free: 140.9 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.6064, allocations: 0 / 0.6037 GB, free: 140.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.001238/0.6076, allocations: 1.475 MB / 0.6052 GB, free: 140.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/0.6077, allocations: 33.23 kB / 0.6052 GB, free: 140.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.6077, allocations: 3.594 kB / 0.6052 GB, free: 140.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.6077, allocations: 13.91 kB / 0.6052 GB, free: 140.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008578/0.6085, allocations: 0.5084 MB / 0.6057 GB, free: 140.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.6086, allocations: 12.28 kB / 0.6057 GB, free: 140.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002982/0.6089, allocations: 42.77 kB / 0.6058 GB, free: 140.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.609, allocations: 112 kB / 0.6059 GB, free: 140.6 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 3 (s0.phase,s1.phase,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (231): * Single equations (assignments): 229 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002573/0.6092, allocations: 238.4 kB / 0.6061 GB, free: 140.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.6094, allocations: 111.8 kB / 0.6062 GB, free: 140.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005086/0.6145, allocations: 7.882 MB / 0.6139 GB, free: 139.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.489e-05/0.6145, allocations: 44.95 kB / 0.614 GB, free: 139.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.6145, allocations: 0 / 0.614 GB, free: 139.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.6145, allocations: 12.84 kB / 0.614 GB, free: 139.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004669/0.6192, allocations: 8.339 MB / 0.6221 GB, free: 138.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.6192, allocations: 0 / 0.6221 GB, free: 138.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000794/0.62, allocations: 394.7 kB / 0.6225 GB, free: 138 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.62, allocations: 8 kB / 0.6225 GB, free: 138 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.681e-05/0.6201, allocations: 66.17 kB / 0.6226 GB, free: 138 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.6201, allocations: 11.66 kB / 0.6226 GB, free: 138 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.6201, allocations: 0 / 0.6226 GB, free: 138 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003721/0.6238, allocations: 6.992 MB / 0.6294 GB, free: 131.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002682/0.6241, allocations: 293.2 kB / 0.6297 GB, free: 131.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.901e-05/0.6242, allocations: 50.16 kB / 0.6297 GB, free: 131.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.6244, allocations: 34.62 kB / 0.6298 GB, free: 131.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.6245, allocations: 140.3 kB / 0.6299 GB, free: 131.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.844e-05/0.6246, allocations: 54.61 kB / 0.6299 GB, free: 131.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.736e-05/0.6247, allocations: 195.4 kB / 0.6301 GB, free: 131 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6247, allocations: 4.906 kB / 0.6301 GB, free: 131 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003325/0.628, allocations: 2.162 MB / 0.6322 GB, free: 129.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 43 (y_int[1],y_int[2],y_int[3],y_int[4],y_int[5],y_int[6],y_int[7],y_int[8],y_int[9],y_int[10],y_int[11],y_int[12],y_int[13],y_int[14],y_int[15],y_int[16],y_int[17],y_int[18],y_int[19],y_int[20],y_int[21],y_int[22],y_int[23],y_int[24],y_int[25],y_int[26],y_int[27],y_int[28],y_int[29],y_int[30],y_int[31],y_int[32],y_int[33],y_int[34],y_int[35],y_int[36],y_int[37],y_int[38],y_int[39],y_int[40],y_int[41],y_int[42],y_int[43]) * Number of discrete variables: 11 ($cse1.phase,$cse2.sat.vap.phase,$cse2.sat.liq.phase,$cse3.phase,$cse4.phase,$cse5.phase,$cse6.phase,$cse50.phase,$cse51.phase,$cse52.phase,$whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (213): * Single equations (assignments): 203 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00458/0.6326, allocations: 3.907 MB / 0.6361 GB, free: 126.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002005/0.6346, allocations: 3.137 MB / 0.6391 GB, free: 123.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/0.6346, allocations: 8.75 kB / 0.6391 GB, free: 123.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001196/0.6358, allocations: 2.436 MB / 0.6415 GB, free: 121.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007173/0.6365, allocations: 306.8 kB / 0.6418 GB, free: 121.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/0.6395, allocations: 4.506 MB / 0.6462 GB, free: 117.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.6397, allocations: 338.6 kB / 0.6465 GB, free: 117.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009527/0.6406, allocations: 1.313 MB / 0.6478 GB, free: 116.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009007/0.6415, allocations: 0.5652 MB / 0.6484 GB, free: 116 MB / 458.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6415, allocations: 0 / 0.6484 GB, free: 116 MB / 458.7 MB Notification: Performance of Templates: time 0.0731/0.7146, allocations: 106.9 MB / 0.7528 GB, free: 14.07 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState.sim & ./HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.816161475144327]