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.0008661/0.0008661, allocations: 80.81 kB / 20.8 MB, free: 3.656 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.0008742/0.0008742, allocations: 165 kB / 24.22 MB, free: 240 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 0.8461/0.8461, allocations: 177.2 MB / 204.7 MB, free: 5.438 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.04431/0.04431, allocations: 11.4 MB / 272.6 MB, free: 2.168 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.072e-06/1.072e-06, allocations: 0 / 291.7 MB, free: 17.73 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034e-05/1.141e-05, allocations: 3.797 kB / 291.7 MB, free: 17.73 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState): time 0.03689/0.0369, allocations: 58.99 MB / 350.7 MB, free: 13.99 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03364/0.07054, allocations: 53.97 MB / 404.7 MB, free: 7.859 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.0707, allocations: 4 kB / 404.7 MB, free: 7.855 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007303/0.07143, allocations: 358.4 kB / 405.1 MB, free: 7.504 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0265/0.09793, allocations: 16.15 MB / 421.2 MB, free: 7.277 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01033/0.1083, allocations: 6.537 MB / 427.7 MB, free: 0.707 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.1535/0.2618, allocations: 59.14 MB / 486.9 MB, free: 39.66 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.134e-05/0.2618, allocations: 14.66 kB / 486.9 MB, free: 39.65 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002739/0.2621, allocations: 336.5 kB / 487.2 MB, free: 39.58 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01319/0.2753, allocations: 25.55 MB / 0.5008 GB, free: 17.83 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.367e-05/0.2753, allocations: 15.09 kB / 0.5008 GB, free: 17.82 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02238/0.2977, allocations: 20.21 MB / 0.5205 GB, free: 2.633 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.2978, allocations: 261.1 kB / 0.5207 GB, free: 2.438 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.298, allocations: 210.8 kB / 0.5209 GB, free: 2.277 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01123/0.3092, allocations: 9.619 MB / 0.5303 GB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3092, allocations: 3.938 kB / 0.5303 GB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3092, allocations: 0 / 0.5303 GB, free: 11.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.485e-06/0.3092, allocations: 0 / 0.5303 GB, free: 11.89 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.002276/0.3115, allocations: 2.186 MB / 0.5325 GB, free: 9.777 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.3115, allocations: 8.031 kB / 0.5325 GB, free: 9.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007536/0.3123, allocations: 316.5 kB / 0.5328 GB, free: 9.504 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003925/0.3127, allocations: 457 kB / 0.5332 GB, free: 9.102 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.3127, allocations: 38.38 kB / 0.5333 GB, free: 9.082 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.3128, allocations: 101.1 kB / 0.5334 GB, free: 9.016 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005643/0.3134, allocations: 0.7327 MB / 0.5341 GB, free: 8.332 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3134, allocations: 1.25 kB / 0.5341 GB, free: 8.332 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.609e-05/0.3134, allocations: 17.19 kB / 0.5341 GB, free: 8.328 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.04e-05/0.3135, allocations: 53.22 kB / 0.5341 GB, free: 8.281 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005057/0.314, allocations: 0.5406 MB / 0.5347 GB, free: 7.793 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.3155, allocations: 1.17 MB / 0.5358 GB, free: 6.789 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007963/0.3163, allocations: 0.7545 MB / 0.5366 GB, free: 6.199 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.3165, allocations: 211.3 kB / 0.5368 GB, free: 6.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0619/0.3784, allocations: 56.52 MB / 0.592 GB, free: 1.781 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005659/0.3789, allocations: 0.6088 MB / 0.5925 GB, free: 1.152 MB / 458.7 MB Notification: Performance of pre-optimization done (n=124): time 3.447e-06/0.3789, allocations: 0 / 0.5925 GB, free: 1.152 MB / 458.7 MB Notification: Performance of matching and sorting (n=161): time 0.1311/0.5101, allocations: 7.067 MB / 0.5994 GB, free: 143.4 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.5101, allocations: 121.7 kB / 0.5996 GB, free: 143.3 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.5103, allocations: 489.7 kB / 0.6 GB, free: 143.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.985e-05/0.5104, allocations: 60.89 kB / 0.6001 GB, free: 143.1 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/0.5105, allocations: 190.3 kB / 0.6003 GB, free: 143 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/0.5107, allocations: 0.5966 MB / 0.6009 GB, free: 142.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003224/0.511, allocations: 451.4 kB / 0.6013 GB, free: 142.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 2.82e-05/0.511, allocations: 320.7 kB / 0.6016 GB, free: 142.4 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003838/0.5114, allocations: 411.6 kB / 0.602 GB, free: 142.3 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004505/0.5119, allocations: 0.6127 MB / 0.6026 GB, free: 142.1 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009187/0.5128, allocations: 1.24 MB / 0.6038 GB, free: 141.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.5128, allocations: 0 / 0.6038 GB, free: 141.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.001082/0.5139, allocations: 1.478 MB / 0.6052 GB, free: 141.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.5139, allocations: 33.05 kB / 0.6053 GB, free: 141.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.5139, allocations: 7.625 kB / 0.6053 GB, free: 141.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.5139, allocations: 10.81 kB / 0.6053 GB, free: 141.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000798/0.5147, allocations: 0.5046 MB / 0.6058 GB, free: 141.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.5147, allocations: 20.83 kB / 0.6058 GB, free: 141.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/0.515, allocations: 39.59 kB / 0.6058 GB, free: 141.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.5151, allocations: 109.1 kB / 0.6059 GB, free: 141.5 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.0001968/0.5153, allocations: 231.3 kB / 0.6062 GB, free: 141.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.5154, allocations: 112.9 kB / 0.6063 GB, free: 141.4 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004851/0.5203, allocations: 7.888 MB / 0.614 GB, free: 140.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.476e-05/0.5203, allocations: 36.12 kB / 0.614 GB, free: 140.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.5203, allocations: 3.219 kB / 0.614 GB, free: 140.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.5203, allocations: 15.23 kB / 0.614 GB, free: 140.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004575/0.5249, allocations: 8.343 MB / 0.6222 GB, free: 140.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.5249, allocations: 0 / 0.6222 GB, free: 140.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008097/0.5257, allocations: 398.6 kB / 0.6225 GB, free: 139.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.5257, allocations: 4 kB / 0.6226 GB, free: 139.9 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-05/0.5258, allocations: 68.78 kB / 0.6226 GB, free: 139.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.5258, allocations: 10.78 kB / 0.6226 GB, free: 139.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5258, allocations: 0 / 0.6226 GB, free: 139.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003681/0.5295, allocations: 6.993 MB / 0.6295 GB, free: 133.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002688/0.5297, allocations: 292.7 kB / 0.6297 GB, free: 133.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.551e-05/0.5298, allocations: 51.38 kB / 0.6298 GB, free: 133 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.5301, allocations: 35 kB / 0.6298 GB, free: 133 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.5302, allocations: 134.2 kB / 0.6299 GB, free: 133 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.541e-05/0.5302, allocations: 59.25 kB / 0.63 GB, free: 133 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.123e-05/0.5303, allocations: 191.9 kB / 0.6302 GB, free: 132.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5303, allocations: 3.062 kB / 0.6302 GB, free: 132.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003036/0.5334, allocations: 2.16 MB / 0.6323 GB, free: 131.2 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.004295/0.5377, allocations: 3.908 MB / 0.6361 GB, free: 128.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001721/0.5394, allocations: 3.136 MB / 0.6392 GB, free: 125.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.5394, allocations: 8 kB / 0.6392 GB, free: 125.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001148/0.5405, allocations: 2.431 MB / 0.6416 GB, free: 123.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006776/0.5412, allocations: 306.1 kB / 0.6419 GB, free: 123.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002848/0.5441, allocations: 4.517 MB / 0.6463 GB, free: 119.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/0.5442, allocations: 344.3 kB / 0.6466 GB, free: 119.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009238/0.5451, allocations: 1.304 MB / 0.6479 GB, free: 118.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008588/0.546, allocations: 0.5582 MB / 0.6484 GB, free: 117.9 MB / 458.7 MB Notification: Performance of SimCode: time 7.32e-07/0.546, allocations: 0 / 0.6484 GB, free: 117.9 MB / 458.7 MB Notification: Performance of Templates: time 0.06909/0.6151, allocations: 106.9 MB / 0.7528 GB, free: 16.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.3290352476760745]