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.0007161/0.0007161, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008944/0.00161, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006804/0.0006804, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009233/0.001604, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9121/0.9121, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08486/0.997, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo): time 0.05003/0.05003, allocations: 11.72 MB / 255.9 MB, free: 3.793 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005828/0.05585, allocations: 3.096 MB / 259 MB, free: 0.6875 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-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.373e-06/1.373e-06, allocations: 0 / 260.3 MB, free: 15.37 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.21e-05/1.348e-05, allocations: 6.25 kB / 260.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState): time 0.1671/0.1672, allocations: 58.91 MB / 319.2 MB, free: 8.324 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03657/0.2037, allocations: 54.95 MB / 374.1 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002225/0.2039, allocations: 3.938 kB / 374.1 MB, free: 1.223 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007441/0.2047, allocations: 358.1 kB / 374.5 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03242/0.2371, allocations: 16.5 MB / 391 MB, free: 312 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01095/0.2481, allocations: 6.333 MB / 397.3 MB, free: 9.945 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.1898/0.4379, allocations: 64.88 MB / 462.2 MB, free: 46.23 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.938e-05/0.4379, allocations: 18.59 kB / 462.2 MB, free: 46.22 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003739/0.4383, allocations: 367.2 kB / 462.6 MB, free: 46 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01317/0.4515, allocations: 20.8 MB / 483.4 MB, free: 26.37 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 8.539e-05/0.4516, allocations: 14.52 kB / 483.4 MB, free: 26.36 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02982/0.4814, allocations: 21.07 MB / 0.4926 GB, free: 11.12 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002052/0.4816, allocations: 250.8 kB / 0.4929 GB, free: 10.93 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002691/0.4819, allocations: 147.6 kB / 0.493 GB, free: 10.78 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01795/0.4998, allocations: 8.35 MB / 0.5012 GB, free: 4.145 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.093e-05/0.4998, allocations: 0 / 0.5012 GB, free: 4.145 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4998, allocations: 8 kB / 0.5012 GB, free: 4.137 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.4998, allocations: 0 / 0.5012 GB, free: 4.137 MB / 394.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.003133/0.503, allocations: 3.058 MB / 0.5042 GB, free: 1.199 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.503, allocations: 8.031 kB / 0.5042 GB, free: 1.191 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007601/0.5038, allocations: 391.6 kB / 0.5046 GB, free: 0.832 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003609/0.5041, allocations: 463.1 kB / 0.505 GB, free: 436 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.5041, allocations: 39.56 kB / 0.505 GB, free: 416 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.5043, allocations: 97.23 kB / 0.5051 GB, free: 348 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007047/0.505, allocations: 0.7341 MB / 0.5058 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.505, allocations: 4 kB / 0.5058 GB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.066e-05/0.505, allocations: 14.94 kB / 0.5059 GB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.616e-05/0.5051, allocations: 88.06 kB / 0.5059 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005192/0.5056, allocations: 0.5386 MB / 0.5065 GB, free: 15.08 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001835/0.5074, allocations: 1.298 MB / 0.5077 GB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006084/0.5081, allocations: 0.7541 MB / 0.5085 GB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.5083, allocations: 204.3 kB / 0.5087 GB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06253/0.5708, allocations: 56.06 MB / 0.5634 GB, free: 10.38 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006805/0.5715, allocations: 0.6217 MB / 0.564 GB, free: 9.742 MB / 458.7 MB Notification: Performance of pre-optimization done (n=124): time 3.216e-06/0.5715, allocations: 0 / 0.564 GB, free: 9.742 MB / 458.7 MB Notification: Performance of matching and sorting (n=161): time 0.02035/0.5918, allocations: 7.161 MB / 0.571 GB, free: 2.891 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.5918, allocations: 70.41 kB / 0.5711 GB, free: 2.812 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002743/0.5921, allocations: 490 kB / 0.5716 GB, free: 2.418 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.427e-05/0.5922, allocations: 73.7 kB / 0.5716 GB, free: 2.34 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.318e-05/0.5923, allocations: 194.2 kB / 0.5718 GB, free: 2.164 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003091/0.5926, allocations: 0.6023 MB / 0.5724 GB, free: 1.602 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003752/0.593, allocations: 480 kB / 0.5729 GB, free: 1.18 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.138e-05/0.5931, allocations: 317 kB / 0.5732 GB, free: 0.8711 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004009/0.5935, allocations: 367.1 kB / 0.5735 GB, free: 0.5039 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1363/0.7297, allocations: 0.6688 MB / 0.5742 GB, free: 136.4 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.7312, allocations: 1.228 MB / 0.5754 GB, free: 136.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.7312, allocations: 0 / 0.5754 GB, free: 136.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.001677/0.7329, allocations: 1.271 MB / 0.5766 GB, free: 135.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.451e-05/0.7329, allocations: 35.44 kB / 0.5766 GB, free: 135.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.733, allocations: 7.688 kB / 0.5766 GB, free: 135.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.023e-05/0.733, allocations: 16.14 kB / 0.5767 GB, free: 135.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.7343, allocations: 0.6982 MB / 0.5773 GB, free: 135.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-05/0.7343, allocations: 21.52 kB / 0.5774 GB, free: 135.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004278/0.7347, allocations: 49.34 kB / 0.5774 GB, free: 135.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001782/0.7349, allocations: 114 kB / 0.5775 GB, free: 135.9 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (273): * Single equations (assignments): 272 * Array equations: 0 * 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.0003308/0.7352, allocations: 249.8 kB / 0.5778 GB, free: 135.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001903/0.7354, allocations: 107.4 kB / 0.5779 GB, free: 135.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006619/0.742, allocations: 7.887 MB / 0.5856 GB, free: 135.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.439e-05/0.7421, allocations: 40.73 kB / 0.5856 GB, free: 135.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.7421, allocations: 3.844 kB / 0.5856 GB, free: 135.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.7421, allocations: 10.78 kB / 0.5856 GB, free: 135.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004662/0.7468, allocations: 8.343 MB / 0.5938 GB, free: 134.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.7468, allocations: 0 / 0.5938 GB, free: 134.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008838/0.7476, allocations: 450 kB / 0.5942 GB, free: 134.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003152/0.748, allocations: 290 kB / 0.5945 GB, free: 134.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.748, allocations: 9.625 kB / 0.5945 GB, free: 134.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.026e-05/0.748, allocations: 69.97 kB / 0.5945 GB, free: 134.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.226e-06/0.748, allocations: 7.594 kB / 0.5945 GB, free: 134.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.748, allocations: 0 / 0.5945 GB, free: 134.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004387/0.7524, allocations: 7.008 MB / 0.6014 GB, free: 134.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.719e-05/0.7525, allocations: 46.16 kB / 0.6014 GB, free: 134.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.7528, allocations: 40.06 kB / 0.6015 GB, free: 134.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.7529, allocations: 133.8 kB / 0.6016 GB, free: 134.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.39e-05/0.753, allocations: 54.16 kB / 0.6016 GB, free: 134.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001033/0.7531, allocations: 194.6 kB / 0.6018 GB, free: 134.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.7531, allocations: 3.5 kB / 0.6018 GB, free: 134.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003524/0.7566, allocations: 2.264 MB / 0.604 GB, free: 133.9 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.004966/0.7615, allocations: 4.261 MB / 0.6082 GB, free: 131.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001946/0.7635, allocations: 3.2 MB / 0.6113 GB, free: 128.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.391e-05/0.7635, allocations: 12 kB / 0.6113 GB, free: 128.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001324/0.7648, allocations: 2.543 MB / 0.6138 GB, free: 125.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000847/0.7657, allocations: 1.264 MB / 0.6151 GB, free: 124.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006107/0.7718, allocations: 4.383 MB / 0.6193 GB, free: 120.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001643/0.772, allocations: 336.2 kB / 0.6197 GB, free: 120.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009485/0.7729, allocations: 1.293 MB / 0.6209 GB, free: 119.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008997/0.7738, allocations: 0.5586 MB / 0.6215 GB, free: 119.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.162e-06/0.7738, allocations: 0 / 0.6215 GB, free: 119.2 MB / 458.7 MB Notification: Performance of Templates: time 0.07683/0.8506, allocations: 109.5 MB / 0.7284 GB, free: 17.36 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.662918044254184]