Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.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.001328/0.001328, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001889/0.001889, allocations: 213.2 kB / 22.25 MB, free: 5.262 MB / 14.72 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.402/1.402, allocations: 230.6 MB / 256 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] 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.049/0.049, allocations: 9.145 MB / 321.6 MB, free: 10.21 MB / 254.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.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.Examples.Validation.CheckDerivativesButane,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesButane",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Validation.CheckDerivativesButane,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesButane",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 59.91 kB / 446.5 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1053, allocations: 54.95 MB / 0.4897 GB, free: 9.512 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesButane): time 0.02007/0.1253, allocations: 15.83 MB / 0.5052 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2288/0.3541, allocations: 14.97 MB / 0.5198 GB, free: 7.008 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.913e-05/0.3542, allocations: 0 / 0.5198 GB, free: 7.008 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007143/0.355, allocations: 242.9 kB / 0.5201 GB, free: 7.004 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01551/0.3705, allocations: 6.403 MB / 0.5263 GB, free: 6.559 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001858/0.3723, allocations: 0.6114 MB / 0.5269 GB, free: 6.414 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.3726, allocations: 205.9 kB / 0.5271 GB, free: 6.359 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.328e-05/0.3726, allocations: 4.578 kB / 0.5271 GB, free: 6.359 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.3728, allocations: 91.97 kB / 0.5272 GB, free: 6.344 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.3729, allocations: 57.05 kB / 0.5272 GB, free: 6.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.3729, allocations: 3.281 kB / 0.5272 GB, free: 6.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01385/0.3867, allocations: 6.956 MB / 0.534 GB, free: 5.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.701e-05/0.3868, allocations: 12.88 kB / 0.5341 GB, free: 5.836 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.708e-05/0.3868, allocations: 52.52 kB / 0.5341 GB, free: 5.824 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008933/0.3958, allocations: 3.43 MB / 0.5375 GB, free: 5.086 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.3958, allocations: 0 / 0.5375 GB, free: 5.086 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3958, allocations: 1.125 kB / 0.5375 GB, free: 5.086 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.3958, allocations: 0 / 0.5375 GB, free: 5.086 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.002374/0.3982, allocations: 0.8441 MB / 0.5383 GB, free: 4.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.3982, allocations: 13.84 kB / 0.5383 GB, free: 4.461 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.43e-05/0.3982, allocations: 45.56 kB / 0.5383 GB, free: 4.418 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.3984, allocations: 21 kB / 0.5384 GB, free: 4.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.3986, allocations: 149.1 kB / 0.5385 GB, free: 4.258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.3986, allocations: 13.09 kB / 0.5385 GB, free: 4.254 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.3986, allocations: 8.969 kB / 0.5385 GB, free: 4.254 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.3988, allocations: 129 kB / 0.5386 GB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3988, allocations: 0 / 0.5386 GB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3988, allocations: 4.375 kB / 0.5386 GB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.3989, allocations: 6.234 kB / 0.5387 GB, free: 4.188 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.399, allocations: 98.66 kB / 0.5387 GB, free: 4.176 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005417/0.3995, allocations: 458.7 kB / 0.5392 GB, free: 3.812 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.3998, allocations: 111.5 kB / 0.5393 GB, free: 3.754 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.452e-05/0.3998, allocations: 69.75 kB / 0.5394 GB, free: 3.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04458/0.4444, allocations: 10.92 MB / 0.55 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.4445, allocations: 34.56 kB / 0.55 GB, free: 15.8 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 2.485e-06/0.4445, allocations: 0 / 0.55 GB, free: 15.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006233/0.4451, allocations: 232.2 kB / 0.5503 GB, free: 15.67 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.4451, allocations: 79.83 kB / 0.5503 GB, free: 15.58 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.4452, allocations: 117.5 kB / 0.5505 GB, free: 15.47 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.4453, allocations: 32.27 kB / 0.5505 GB, free: 15.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.4453, allocations: 87.31 kB / 0.5506 GB, free: 15.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.272e-05/0.4454, allocations: 84.45 kB / 0.5507 GB, free: 15.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.267e-05/0.4454, allocations: 35.39 kB / 0.5507 GB, free: 15.24 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.4456, allocations: 329.4 kB / 0.551 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.778e-05/0.4456, allocations: 45.55 kB / 0.551 GB, free: 14.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.677e-05/0.4457, allocations: 67.78 kB / 0.5511 GB, free: 14.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.4459, allocations: 116.2 kB / 0.5512 GB, free: 14.78 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4459, allocations: 0 / 0.5512 GB, free: 14.78 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002482/0.4462, allocations: 178.2 kB / 0.5514 GB, free: 14.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.4462, allocations: 9.297 kB / 0.5514 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.4462, allocations: 2.656 kB / 0.5514 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.4462, allocations: 4 kB / 0.5514 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.202e-05/0.4463, allocations: 17.12 kB / 0.5514 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.4463, allocations: 0 / 0.5514 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.736e-05/0.4464, allocations: 11.83 kB / 0.5514 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.4464, allocations: 9.75 kB / 0.5514 GB, free: 14.66 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (state_p.phase,state_h.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001161/0.4465, allocations: 126.5 kB / 0.5516 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.812e-05/0.4465, allocations: 17.88 kB / 0.5516 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004574/0.447, allocations: 318.9 kB / 0.5519 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002776/0.4473, allocations: 251.9 kB / 0.5521 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4473, allocations: 0 / 0.5521 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.4473, allocations: 0 / 0.5521 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001/0.4483, allocations: 0.7102 MB / 0.5528 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.4483, allocations: 0 / 0.5528 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.4485, allocations: 47.86 kB / 0.5529 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.4485, allocations: 3.188 kB / 0.5529 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.4485, allocations: 4 kB / 0.5529 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4485, allocations: 4 kB / 0.5529 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4485, allocations: 0 / 0.5529 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005946/0.4491, allocations: 0.5344 MB / 0.5534 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.431e-05/0.4491, allocations: 23.8 kB / 0.5534 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.4491, allocations: 8 kB / 0.5534 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.4493, allocations: 4.562 kB / 0.5534 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.4493, allocations: 15.97 kB / 0.5534 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.4493, allocations: 8 kB / 0.5535 GB, free: 12.76 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.431e-05/0.4494, allocations: 95.64 kB / 0.5535 GB, free: 12.67 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4494, allocations: 288 / 0.5535 GB, free: 12.67 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0028/0.4522, allocations: 0.9423 MB / 0.5545 GB, free: 11.72 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (d_h_int,d_p_int) * Number of discrete variables: 4 (state_h.phase,$cse2.phase,state_p.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.005612/0.4578, allocations: 2.429 MB / 0.5568 GB, free: 9.422 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000398/0.4582, allocations: 239.8 kB / 0.5571 GB, free: 9.176 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.4582, allocations: 0 / 0.5571 GB, free: 9.176 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.4583, allocations: 103.9 kB / 0.5572 GB, free: 9.074 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009624/0.4593, allocations: 143.8 kB / 0.5573 GB, free: 8.945 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004147/0.4635, allocations: 2.46 MB / 0.5597 GB, free: 6.406 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.4636, allocations: 125.1 kB / 0.5598 GB, free: 6.262 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000167/0.4637, allocations: 52.45 kB / 0.5599 GB, free: 6.215 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.4639, allocations: 63.42 kB / 0.5599 GB, free: 6.152 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4639, allocations: 0 / 0.5599 GB, free: 6.152 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07466/0.5385, allocations: 31.73 MB / 0.5909 GB, free: 6.656 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.52, allocations: 0.7031 kB / 0.5909 GB, free: 6.656 MB / 430.1 MB " [Timeout remaining time 647] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane_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_Examples_Validation_CheckDerivativesButane.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.479219298809767] Failed to read output from testmodel.py, exit status != 0: 12.646267321892083 12.662712263 12.263579083 Calling exit ...