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.002582/0.002582, allocations: 105.5 kB / 18.95 MB, free: 1.18 MB / 13.93 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.003798/0.003798, allocations: 222.3 kB / 22.25 MB, free: 3.582 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 2.589/2.589, allocations: 230.6 MB / 256 MB, free: 9.621 MB / 202.7 MB " [Timeout remaining time 177] 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.09243/0.09243, allocations: 14.02 MB / 326.4 MB, free: 4.629 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 0.004341/0.004341, allocations: 67.89 kB / 453.9 MB, free: 33.23 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1859, allocations: 55.95 MB / 0.4979 GB, free: 9.18 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState): time 0.07384/0.2598, allocations: 52.69 MB / 0.5494 GB, free: 4.297 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.4931/0.7529, allocations: 47.8 MB / 0.5961 GB, free: 14.67 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004175/0.7533, allocations: 9.562 kB / 0.5961 GB, free: 14.67 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.7545, allocations: 331.2 kB / 0.5964 GB, free: 14.55 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06499/0.8195, allocations: 16.72 MB / 0.6127 GB, free: 3.418 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02804/0.8476, allocations: 6.671 MB / 0.6192 GB, free: 13.44 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.09857/0.9461, allocations: 59.61 MB / 0.6775 GB, free: 1.711 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.9463, allocations: 12.53 kB / 0.6775 GB, free: 1.699 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005426/0.9468, allocations: 251.3 kB / 0.6777 GB, free: 1.453 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03943/0.9862, allocations: 25.71 MB / 0.7028 GB, free: 7.688 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001822/0.9864, allocations: 15.94 kB / 0.7028 GB, free: 7.672 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0636/1.05, allocations: 18.78 MB / 0.7212 GB, free: 4.859 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0004394/1.05, allocations: 267.3 kB / 0.7214 GB, free: 4.598 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0005562/1.051, allocations: 258.5 kB / 0.7217 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.04994/1.101, allocations: 8.219 MB / 0.7297 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.101, allocations: 0 / 0.7297 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.983e-06/1.101, allocations: 0 / 0.7297 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.203e-05/1.101, allocations: 0 / 0.7297 GB, free: 12.1 MB / 0.5417 GB 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.006875/1.108, allocations: 2.249 MB / 0.7319 GB, free: 9.805 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.337e-05/1.108, allocations: 12.03 kB / 0.7319 GB, free: 9.793 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001457/1.109, allocations: 255.2 kB / 0.7321 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007969/1.11, allocations: 409 kB / 0.7325 GB, free: 9.117 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.438e-05/1.11, allocations: 48.92 kB / 0.7326 GB, free: 9.07 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002308/1.11, allocations: 103.7 kB / 0.7327 GB, free: 8.969 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/1.112, allocations: 1.173 MB / 0.7338 GB, free: 7.785 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/1.112, allocations: 3.938 kB / 0.7338 GB, free: 7.781 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.448e-05/1.113, allocations: 23.98 kB / 0.7339 GB, free: 7.758 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.68e-05/1.113, allocations: 49.28 kB / 0.7339 GB, free: 7.707 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/1.115, allocations: 1.203 MB / 0.7351 GB, free: 6.504 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003876/1.118, allocations: 1.681 MB / 0.7367 GB, free: 4.789 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/1.12, allocations: 1.135 MB / 0.7378 GB, free: 3.652 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/1.121, allocations: 0.515 MB / 0.7383 GB, free: 3.133 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04895/1.17, allocations: 25.27 MB / 0.763 GB, free: 9.844 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002364/1.173, allocations: 1.041 MB / 0.764 GB, free: 8.773 MB / 0.573 GB Notification: Performance of pre-optimization done (n=124): time 4.539e-06/1.173, allocations: 0 / 0.764 GB, free: 8.773 MB / 0.573 GB Notification: Performance of matching and sorting (n=161): time 0.03475/1.207, allocations: 8.638 MB / 0.7725 GB, free: 172 kB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.95e-05/1.208, allocations: 94.42 kB / 0.7725 GB, free: 56 kB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3788/1.586, allocations: 0.5534 MB / 0.7731 GB, free: 227 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005517/1.587, allocations: 61.39 kB / 0.7731 GB, free: 227 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/1.587, allocations: 198 kB / 0.7733 GB, free: 226.9 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006671/1.588, allocations: 0.6054 MB / 0.7739 GB, free: 226.6 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008804/1.589, allocations: 0.4892 MB / 0.7744 GB, free: 226.6 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.791e-05/1.589, allocations: 318.5 kB / 0.7747 GB, free: 226.2 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001795/1.591, allocations: 1.075 MB / 0.7758 GB, free: 226 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002246/1.593, allocations: 1.303 MB / 0.777 GB, free: 225.4 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004287/1.597, allocations: 2.503 MB / 0.7795 GB, free: 224.3 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/1.597, allocations: 1.25 kB / 0.7795 GB, free: 224.3 MB / 0.573 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.005935/1.603, allocations: 2.954 MB / 0.7824 GB, free: 223.2 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 6.442e-05/1.603, allocations: 38.72 kB / 0.7824 GB, free: 223.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/1.603, allocations: 3.812 kB / 0.7824 GB, free: 223.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.004e-05/1.603, allocations: 12.7 kB / 0.7824 GB, free: 223.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/1.605, allocations: 470.3 kB / 0.7829 GB, free: 223.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.674e-05/1.605, allocations: 17.22 kB / 0.7829 GB, free: 223.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006666/1.606, allocations: 42.41 kB / 0.7829 GB, free: 223.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003204/1.606, allocations: 135.2 kB / 0.783 GB, free: 223.1 MB / 0.573 GB 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.0007276/1.607, allocations: 339.6 kB / 0.7834 GB, free: 222.8 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003468/1.607, allocations: 99.31 kB / 0.7835 GB, free: 222.8 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01817/1.625, allocations: 19.05 MB / 0.8021 GB, free: 209.7 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.065e-05/1.625, allocations: 42.06 kB / 0.8021 GB, free: 209.7 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/1.625, allocations: 4 kB / 0.8021 GB, free: 209.7 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.189e-05/1.625, allocations: 7.969 kB / 0.8021 GB, free: 209.7 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01547/1.641, allocations: 22.29 MB / 0.8239 GB, free: 187.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-05/1.641, allocations: 3 kB / 0.8239 GB, free: 187.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001424/1.642, allocations: 399.4 kB / 0.8243 GB, free: 187 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.437e-05/1.642, allocations: 4 kB / 0.8243 GB, free: 187 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001385/1.642, allocations: 81.02 kB / 0.8244 GB, free: 186.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-05/1.642, allocations: 11.66 kB / 0.8244 GB, free: 186.9 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.642, allocations: 0 / 0.8244 GB, free: 186.9 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0163/1.659, allocations: 25.88 MB / 0.8496 GB, free: 160.9 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008869/1.659, allocations: 350.1 kB / 0.85 GB, free: 160.6 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001606/1.66, allocations: 55.97 kB / 0.85 GB, free: 160.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004539/1.66, allocations: 36 kB / 0.8501 GB, free: 160.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002193/1.66, allocations: 145.7 kB / 0.8502 GB, free: 160.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/1.66, allocations: 83.94 kB / 0.8503 GB, free: 160.3 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003098/1.661, allocations: 346.8 kB / 0.8506 GB, free: 159.9 MB / 0.573 GB Notification: Performance of sort global known variables: time 9e-08/1.661, allocations: 4.656 kB / 0.8506 GB, free: 159.9 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006502/1.667, allocations: 2.146 MB / 0.8527 GB, free: 158.1 MB / 0.573 GB 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.01035/1.678, allocations: 3.382 MB / 0.856 GB, free: 155.4 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.007625/1.685, allocations: 8.953 MB / 0.8648 GB, free: 146.4 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.615e-06/1.685, allocations: 1.531 kB / 0.8648 GB, free: 146.4 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.005062/1.69, allocations: 7.415 MB / 0.872 GB, free: 139 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/1.692, allocations: 221.7 kB / 0.8722 GB, free: 138.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007721/1.699, allocations: 9.947 MB / 0.8819 GB, free: 128.8 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/1.7, allocations: 0.6403 MB / 0.8826 GB, free: 128.1 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002229/1.702, allocations: 1.63 MB / 0.8841 GB, free: 126.6 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006078/1.703, allocations: 227.2 kB / 0.8844 GB, free: 126.4 MB / 0.573 GB Notification: Performance of SimCode: time 1.242e-06/1.703, allocations: 0 / 0.8844 GB, free: 126.4 MB / 0.573 GB Notification: Performance of Templates: time 0.09653/1.799, allocations: 90.49 MB / 0.9727 GB, free: 35.75 MB / 0.573 GB " [Timeout remaining time 658] 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: 12.860007745213807]