Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.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.001282/0.001282, 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.001563/0.001563, allocations: 210.5 kB / 22.24 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.348/1.348, allocations: 230.6 MB / 256 MB, free: 7.793 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.04891/0.04891, allocations: 9.127 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.CheckDerivativesHelium,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesHelium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Validation.CheckDerivativesHelium,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesHelium",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 63.91 kB / 446.5 MB, free: 0.543 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09768/0.09954, allocations: 54.94 MB / 0.4897 GB, free: 9.5 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesHelium): time 0.01899/0.1185, allocations: 15.78 MB / 0.5051 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2282/0.3467, allocations: 14.86 MB / 0.5196 GB, free: 6.965 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.041e-05/0.3468, allocations: 0.75 kB / 0.5196 GB, free: 6.965 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006625/0.3475, allocations: 228.6 kB / 0.5199 GB, free: 6.965 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01686/0.3643, allocations: 6.313 MB / 0.526 GB, free: 6.523 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.3661, allocations: 0.5889 MB / 0.5266 GB, free: 6.379 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000245/0.3663, allocations: 189.3 kB / 0.5268 GB, free: 6.324 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.172e-05/0.3664, allocations: 6.516 kB / 0.5268 GB, free: 6.324 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.3665, allocations: 85.86 kB / 0.5269 GB, free: 6.305 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.3666, allocations: 55.91 kB / 0.5269 GB, free: 6.285 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.3667, allocations: 9.75 kB / 0.5269 GB, free: 6.285 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01516/0.3818, allocations: 6.796 MB / 0.5336 GB, free: 5.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.106e-05/0.3819, allocations: 17.44 kB / 0.5336 GB, free: 5.805 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.382, allocations: 48.69 kB / 0.5336 GB, free: 5.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009921/0.3919, allocations: 3.425 MB / 0.537 GB, free: 5.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3919, allocations: 0 / 0.537 GB, free: 5.203 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3919, allocations: 1.312 kB / 0.537 GB, free: 5.203 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.3919, allocations: 4 kB / 0.537 GB, free: 5.199 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.002277/0.3942, allocations: 0.8427 MB / 0.5378 GB, free: 4.578 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.3942, allocations: 10 kB / 0.5378 GB, free: 4.578 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.478e-05/0.3943, allocations: 44.83 kB / 0.5379 GB, free: 4.531 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002008/0.3945, allocations: 22.62 kB / 0.5379 GB, free: 4.523 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.3946, allocations: 143.3 kB / 0.538 GB, free: 4.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.3946, allocations: 5.734 kB / 0.538 GB, free: 4.375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.3947, allocations: 13.22 kB / 0.538 GB, free: 4.371 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.3948, allocations: 137.5 kB / 0.5382 GB, free: 4.305 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.3949, allocations: 0 / 0.5382 GB, free: 4.305 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.3949, allocations: 5 kB / 0.5382 GB, free: 4.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.3949, allocations: 4.156 kB / 0.5382 GB, free: 4.301 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.395, allocations: 101.4 kB / 0.5383 GB, free: 4.289 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005429/0.3956, allocations: 456.9 kB / 0.5387 GB, free: 3.926 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.3958, allocations: 109.4 kB / 0.5388 GB, free: 3.871 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.3959, allocations: 67.48 kB / 0.5389 GB, free: 3.848 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04576/0.4417, allocations: 10.92 MB / 0.5495 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.4417, allocations: 38.23 kB / 0.5496 GB, free: 52 kB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 2.224e-06/0.4417, allocations: 0 / 0.5496 GB, free: 52 kB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006371/0.4423, allocations: 231.6 kB / 0.5498 GB, free: 15.94 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.4424, allocations: 79.83 kB / 0.5499 GB, free: 15.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.4425, allocations: 123.1 kB / 0.55 GB, free: 15.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.4425, allocations: 25.7 kB / 0.55 GB, free: 15.7 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.574e-05/0.4426, allocations: 90.88 kB / 0.5501 GB, free: 15.61 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.589e-05/0.4427, allocations: 79.81 kB / 0.5502 GB, free: 15.54 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.645e-05/0.4427, allocations: 39.36 kB / 0.5502 GB, free: 15.51 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.4429, allocations: 321.5 kB / 0.5505 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.604e-05/0.4429, allocations: 49.95 kB / 0.5506 GB, free: 15.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.886e-05/0.443, allocations: 64 kB / 0.5506 GB, free: 15.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.4432, allocations: 120.1 kB / 0.5507 GB, free: 15.05 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4432, allocations: 0 / 0.5507 GB, free: 15.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002506/0.4435, allocations: 182.1 kB / 0.5509 GB, free: 14.94 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.4435, allocations: 2.906 kB / 0.5509 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.4435, allocations: 3.297 kB / 0.5509 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.4435, allocations: 0 / 0.5509 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.626e-05/0.4436, allocations: 20.95 kB / 0.5509 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.4436, allocations: 1.562 kB / 0.5509 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.394e-05/0.4437, allocations: 16.33 kB / 0.551 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.4437, allocations: 4.719 kB / 0.551 GB, free: 14.92 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.0001097/0.4438, allocations: 117.6 kB / 0.5511 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.731e-05/0.4439, allocations: 22.28 kB / 0.5511 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004502/0.4443, allocations: 325.5 kB / 0.5514 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000283/0.4446, allocations: 245.3 kB / 0.5516 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4446, allocations: 2.312 kB / 0.5516 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.4446, allocations: 0 / 0.5516 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.4456, allocations: 0.7086 MB / 0.5523 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.4456, allocations: 4 kB / 0.5523 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.4458, allocations: 43.86 kB / 0.5524 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.4458, allocations: 8 kB / 0.5524 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.4458, allocations: 4 kB / 0.5524 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.4458, allocations: 7.812 kB / 0.5524 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4458, allocations: 0 / 0.5524 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000666/0.4465, allocations: 0.5334 MB / 0.5529 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-05/0.4465, allocations: 23.72 kB / 0.5529 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.4466, allocations: 4 kB / 0.553 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.4467, allocations: 4 kB / 0.553 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.4467, allocations: 19.97 kB / 0.553 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.4467, allocations: 7.984 kB / 0.553 GB, free: 13.14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.268e-05/0.4468, allocations: 103.7 kB / 0.5531 GB, free: 13.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4468, allocations: 0 / 0.5531 GB, free: 13.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003195/0.45, allocations: 0.9423 MB / 0.554 GB, free: 12.09 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.006465/0.4565, allocations: 2.426 MB / 0.5564 GB, free: 9.789 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004572/0.4569, allocations: 232.7 kB / 0.5566 GB, free: 9.551 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.4569, allocations: 0 / 0.5566 GB, free: 9.551 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.4571, allocations: 114.6 kB / 0.5567 GB, free: 9.441 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.4582, allocations: 138.5 kB / 0.5568 GB, free: 9.312 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00441/0.4626, allocations: 2.463 MB / 0.5592 GB, free: 6.773 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.4627, allocations: 121 kB / 0.5594 GB, free: 6.633 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001648/0.4629, allocations: 49.92 kB / 0.5594 GB, free: 6.586 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.463, allocations: 59.42 kB / 0.5595 GB, free: 6.527 MB / 398.1 MB Notification: Performance of SimCode: time 9.32e-07/0.463, allocations: 96 / 0.5595 GB, free: 6.527 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07183/0.5348, allocations: 31.74 MB / 0.5905 GB, free: 7.043 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.11, allocations: 15.67 kB / 0.5905 GB, free: 7.031 MB / 430.1 MB " [Timeout remaining time 648] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesHelium_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-10 HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesHelium.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.352108903694898] Failed to read output from testmodel.py, exit status != 0: 12.22845870628953 12.250660648 11.854473542000001 Calling exit ...