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.001072/0.001072, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001118/0.001118, allocations: 211.6 kB / 22.25 MB, free: 3.574 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 1.089/1.089, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.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.0483/0.0483, allocations: 14.03 MB / 326.5 MB, free: 4.582 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: "" <> buildModelFMU(HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Validation_Derivatives_CheckDerivativeSetState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Validation_Derivatives_CheckDerivativeSetState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 73.19 kB / 453.5 MB, free: 33.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1227, allocations: 55.96 MB / 0.4975 GB, free: 9.66 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState): time 0.04446/0.1671, allocations: 52.69 MB / 0.5489 GB, free: 4.777 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.3821/0.5492, allocations: 47.82 MB / 0.5956 GB, free: 14.57 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003721/0.5496, allocations: 6.312 kB / 0.5956 GB, free: 14.57 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.5506, allocations: 330.2 kB / 0.596 GB, free: 14.45 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05349/0.6041, allocations: 16.74 MB / 0.6123 GB, free: 3.414 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02123/0.6253, allocations: 6.669 MB / 0.6188 GB, free: 13.68 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.05077/0.6761, allocations: 59.6 MB / 0.677 GB, free: 1.961 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.879e-05/0.6762, allocations: 12.58 kB / 0.677 GB, free: 1.949 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004725/0.6767, allocations: 251.3 kB / 0.6773 GB, free: 1.703 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0215/0.6982, allocations: 25.72 MB / 0.7024 GB, free: 7.93 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.000146/0.6983, allocations: 12 kB / 0.7024 GB, free: 7.918 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0426/0.7409, allocations: 18.78 MB / 0.7207 GB, free: 5.109 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002672/0.7412, allocations: 271.2 kB / 0.721 GB, free: 4.844 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003583/0.7415, allocations: 262.4 kB / 0.7212 GB, free: 4.586 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.03601/0.7775, allocations: 8.212 MB / 0.7293 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.7775, allocations: 0 / 0.7293 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.166e-06/0.7775, allocations: 0 / 0.7293 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.958e-05/0.7776, allocations: 0 / 0.7293 GB, free: 12.35 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.005309/0.7829, allocations: 2.255 MB / 0.7315 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.808e-05/0.7829, allocations: 12.03 kB / 0.7315 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.886e-05/0.783, allocations: 90.52 kB / 0.7316 GB, free: 9.938 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009777/0.784, allocations: 255.2 kB / 0.7318 GB, free: 9.688 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005626/0.7846, allocations: 417.9 kB / 0.7322 GB, free: 9.254 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.637e-05/0.7846, allocations: 44.94 kB / 0.7322 GB, free: 9.211 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.7848, allocations: 99.8 kB / 0.7323 GB, free: 9.113 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.786, allocations: 1.165 MB / 0.7335 GB, free: 7.938 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.786, allocations: 0 / 0.7335 GB, free: 7.938 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.675e-05/0.7861, allocations: 16 kB / 0.7335 GB, free: 7.922 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.85e-05/0.7861, allocations: 53.28 kB / 0.7335 GB, free: 7.867 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.7874, allocations: 1.207 MB / 0.7347 GB, free: 6.66 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002572/0.79, allocations: 1.751 MB / 0.7364 GB, free: 4.863 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/0.7913, allocations: 1.143 MB / 0.7376 GB, free: 3.719 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005186/0.7918, allocations: 0.5112 MB / 0.7381 GB, free: 3.203 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02382/0.8157, allocations: 25.26 MB / 0.7627 GB, free: 9.914 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001537/0.8172, allocations: 1.052 MB / 0.7638 GB, free: 8.832 MB / 0.573 GB Notification: Performance of pre-optimization done (n=124): time 5.611e-06/0.8172, allocations: 0 / 0.7638 GB, free: 8.832 MB / 0.573 GB Notification: Performance of matching and sorting (n=161): time 0.02312/0.8403, allocations: 8.637 MB / 0.7722 GB, free: 232 kB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.904e-05/0.8404, allocations: 98.41 kB / 0.7723 GB, free: 112 kB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3095/1.15, allocations: 0.5546 MB / 0.7728 GB, free: 226.9 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003752/1.15, allocations: 58.8 kB / 0.7729 GB, free: 226.9 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002004/1.15, allocations: 196.1 kB / 0.7731 GB, free: 226.8 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005403/1.151, allocations: 0.6103 MB / 0.7737 GB, free: 226.5 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007962/1.152, allocations: 490.6 kB / 0.7741 GB, free: 226.4 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.324e-05/1.152, allocations: 323.8 kB / 0.7744 GB, free: 226.1 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001392/1.153, allocations: 1.071 MB / 0.7755 GB, free: 225.9 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/1.155, allocations: 1.306 MB / 0.7768 GB, free: 225.3 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003296/1.158, allocations: 2.504 MB / 0.7792 GB, free: 224.3 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/1.158, allocations: 1.125 kB / 0.7792 GB, free: 224.3 MB / 0.573 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004864/1.163, allocations: 2.96 MB / 0.7821 GB, free: 223.1 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 6.319e-05/1.163, allocations: 38.42 kB / 0.7821 GB, free: 223.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.529e-05/1.163, allocations: 5.203 kB / 0.7821 GB, free: 223.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.186e-05/1.163, allocations: 12.66 kB / 0.7821 GB, free: 223.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/1.164, allocations: 466.3 kB / 0.7826 GB, free: 223 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.158e-05/1.164, allocations: 16.59 kB / 0.7826 GB, free: 223 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00046/1.165, allocations: 39.8 kB / 0.7826 GB, free: 223 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002063/1.165, allocations: 135 kB / 0.7828 GB, free: 223 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.0005837/1.166, allocations: 341 kB / 0.7831 GB, free: 222.8 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002157/1.166, allocations: 101.6 kB / 0.7832 GB, free: 222.7 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01288/1.179, allocations: 19.05 MB / 0.8018 GB, free: 209.8 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.933e-05/1.179, allocations: 48.09 kB / 0.8018 GB, free: 209.8 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/1.179, allocations: 0 / 0.8018 GB, free: 209.8 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/1.179, allocations: 11.95 kB / 0.8019 GB, free: 209.8 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01111/1.19, allocations: 22.45 MB / 0.8238 GB, free: 187.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/1.19, allocations: 3.938 kB / 0.8238 GB, free: 187.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/1.191, allocations: 388.5 kB / 0.8242 GB, free: 186.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.065e-05/1.191, allocations: 8 kB / 0.8242 GB, free: 186.9 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/1.191, allocations: 79.92 kB / 0.8242 GB, free: 186.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-05/1.191, allocations: 15.05 kB / 0.8243 GB, free: 186.8 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.191, allocations: 0 / 0.8243 GB, free: 186.8 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01182/1.203, allocations: 25.88 MB / 0.8495 GB, free: 160.8 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005963/1.204, allocations: 354.9 kB / 0.8499 GB, free: 160.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/1.204, allocations: 55.88 kB / 0.8499 GB, free: 160.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003/1.204, allocations: 40.62 kB / 0.85 GB, free: 160.4 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/1.204, allocations: 141.7 kB / 0.8501 GB, free: 160.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-05/1.204, allocations: 83.94 kB / 0.8502 GB, free: 160.2 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002537/1.205, allocations: 350.8 kB / 0.8505 GB, free: 159.8 MB / 0.573 GB Notification: Performance of sort global known variables: time 5e-08/1.205, allocations: 0 / 0.8505 GB, free: 159.8 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005475/1.21, allocations: 2.143 MB / 0.8526 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.02104/1.231, allocations: 29.65 MB / 0.8816 GB, free: 129 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.007273/1.238, allocations: 8.957 MB / 0.8903 GB, free: 120 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/1.238, allocations: 0 / 0.8903 GB, free: 120 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.004711/1.243, allocations: 7.412 MB / 0.8975 GB, free: 112.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/1.244, allocations: 213.1 kB / 0.8977 GB, free: 112.4 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01931/1.263, allocations: 20.77 MB / 0.918 GB, free: 91.3 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/1.264, allocations: 0.6477 MB / 0.9187 GB, free: 90.64 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001363/1.265, allocations: 1.641 MB / 0.9203 GB, free: 89.1 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006238/1.266, allocations: 0.581 MB / 0.9208 GB, free: 88.52 MB / 0.573 GB Notification: Performance of SimCode: time 2.104e-06/1.266, allocations: 3.938 kB / 0.9208 GB, free: 88.52 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5022/1.768, allocations: 104 MB / 1.022 GB, free: 213.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/12.71, allocations: 9.812 kB / 1.022 GB, free: 213.2 MB / 0.573 GB " [Timeout remaining time 647] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Validation_Derivatives_CheckDerivativeSetState_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-10 ../HelmholtzMedia_HelmholtzMedia_Validation_Derivatives_CheckDerivativeSetState.fmu) > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState.pipe 2>&1) [Timeout 52.5] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState_fmpy.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState_fmpy.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-10 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../HelmholtzMedia_HelmholtzMedia_Validation_Derivatives_CheckDerivativeSetState.fmu) > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativeSetState_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.000141697004437]