Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.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.0007882/0.0007882, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009061/0.0009061, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 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.8922/0.8922, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.02793/0.02793, allocations: 7.511 MB / 266.7 MB, free: 6.18 MB / 250.7 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.CheckDerivativesWater,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Validation.CheckDerivativesWater,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 391.8 MB, free: 6.316 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.466e-05/1.593e-05, allocations: 2.281 kB / 391.8 MB, free: 6.312 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesWater): time 0.01012/0.01013, allocations: 11.84 MB / 403.6 MB, free: 10.43 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00594/0.01607, allocations: 7.509 MB / 411.1 MB, free: 2.891 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.565e-05/0.01614, allocations: 0 / 411.1 MB, free: 2.891 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.01629, allocations: 39.75 kB / 411.2 MB, free: 2.852 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003377/0.01967, allocations: 1.89 MB / 413 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003902/0.02357, allocations: 2.285 MB / 415.3 MB, free: 14.68 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.02372, allocations: 146.9 kB / 415.5 MB, free: 14.54 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.255e-05/0.02376, allocations: 7.984 kB / 415.5 MB, free: 14.53 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.145e-05/0.02382, allocations: 55.89 kB / 415.5 MB, free: 14.47 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.913e-05/0.02389, allocations: 43.89 kB / 415.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.02391, allocations: 4 kB / 415.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007721/0.03163, allocations: 6.633 MB / 422.2 MB, free: 7.785 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.075e-05/0.03165, allocations: 15.92 kB / 422.2 MB, free: 7.77 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.386e-05/0.0317, allocations: 43.84 kB / 422.3 MB, free: 7.727 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005801/0.0375, allocations: 4.884 MB / 427.2 MB, free: 2.832 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.03751, allocations: 0 / 427.2 MB, free: 2.832 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.03751, allocations: 0 / 427.2 MB, free: 2.832 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.03751, allocations: 7.875 kB / 427.2 MB, free: 2.824 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001773/0.03929, allocations: 0.8225 MB / 428 MB, free: 1.969 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.03932, allocations: 12.62 kB / 428 MB, free: 1.957 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.271e-05/0.03936, allocations: 42.73 kB / 428 MB, free: 1.906 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001901/0.03955, allocations: 44.86 kB / 428.1 MB, free: 1.863 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.03971, allocations: 145.6 kB / 428.2 MB, free: 1.695 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.03972, allocations: 8.562 kB / 428.2 MB, free: 1.688 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.03974, allocations: 8.375 kB / 428.2 MB, free: 1.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004947/0.04024, allocations: 267.2 kB / 428.5 MB, free: 1.406 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.04025, allocations: 3.984 kB / 428.5 MB, free: 1.402 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.04026, allocations: 7.938 kB / 428.5 MB, free: 1.395 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.04026, allocations: 4 kB / 428.5 MB, free: 1.391 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000393/0.04066, allocations: 211.8 kB / 428.7 MB, free: 1.184 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004691/0.04113, allocations: 431.7 kB / 429.2 MB, free: 0.7148 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000482/0.04161, allocations: 241 kB / 429.4 MB, free: 472 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.467e-05/0.04166, allocations: 45.75 kB / 429.4 MB, free: 420 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2036/0.2452, allocations: 35.06 MB / 464.5 MB, free: 89.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.2453, allocations: 37.41 kB / 464.5 MB, free: 89.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.184e-06/0.2453, allocations: 0 / 464.5 MB, free: 89.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.001002/0.2463, allocations: 367.9 kB / 464.9 MB, free: 89.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.2463, allocations: 83.83 kB / 465 MB, free: 89.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.651e-05/0.2464, allocations: 137.3 kB / 465.1 MB, free: 89.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.2464, allocations: 25.7 kB / 465.1 MB, free: 89.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.272e-05/0.2464, allocations: 103.9 kB / 465.2 MB, free: 89.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.2465, allocations: 49 kB / 465.3 MB, free: 89.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.334e-05/0.2465, allocations: 56.84 kB / 465.3 MB, free: 89.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.379e-05/0.2466, allocations: 321.2 kB / 465.6 MB, free: 88.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.352e-05/0.2466, allocations: 66.05 kB / 465.7 MB, free: 88.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.902e-05/0.2467, allocations: 90.41 kB / 465.8 MB, free: 88.72 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.2469, allocations: 144.1 kB / 465.9 MB, free: 88.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2469, allocations: 4 kB / 465.9 MB, free: 88.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002899/0.2472, allocations: 220.9 kB / 466.2 MB, free: 88.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.2472, allocations: 2.969 kB / 466.2 MB, free: 88.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2472, allocations: 3.156 kB / 466.2 MB, free: 88.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.2473, allocations: 3.75 kB / 466.2 MB, free: 88.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.2474, allocations: 55.95 kB / 466.2 MB, free: 88.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.2474, allocations: 2.969 kB / 466.2 MB, free: 88.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.558e-05/0.2474, allocations: 13.28 kB / 466.2 MB, free: 88.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.2475, allocations: 26.95 kB / 466.3 MB, free: 88.54 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (state_h.phase,state_p.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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 6.941e-05/0.2475, allocations: 124 kB / 466.4 MB, free: 88.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.2476, allocations: 10.08 kB / 466.4 MB, free: 88.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.2487, allocations: 2.241 MB / 468.6 MB, free: 87.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.2487, allocations: 10.05 kB / 468.6 MB, free: 87.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2487, allocations: 0 / 468.6 MB, free: 87.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2487, allocations: 3.938 kB / 468.7 MB, free: 87.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006326/0.2494, allocations: 1.061 MB / 469.7 MB, free: 86.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.2494, allocations: 0.9375 kB / 469.7 MB, free: 86.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.2495, allocations: 40.48 kB / 469.8 MB, free: 86.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2495, allocations: 1.375 kB / 469.8 MB, free: 86.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.2495, allocations: 10.06 kB / 469.8 MB, free: 86.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.2495, allocations: 1 kB / 469.8 MB, free: 86.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2495, allocations: 1.062 kB / 469.8 MB, free: 86.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004709/0.25, allocations: 0.6601 MB / 470.4 MB, free: 86.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.197e-05/0.25, allocations: 25.62 kB / 470.5 MB, free: 86.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.25, allocations: 4.422 kB / 470.5 MB, free: 86.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.969e-05/0.2501, allocations: 6.75 kB / 470.5 MB, free: 86.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.497e-05/0.2501, allocations: 15.23 kB / 470.5 MB, free: 86.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.2501, allocations: 6.75 kB / 470.5 MB, free: 86.31 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.389e-05/0.2502, allocations: 99.31 kB / 470.6 MB, free: 86.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2502, allocations: 0 / 470.6 MB, free: 86.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002177/0.2524, allocations: 0.9295 MB / 471.5 MB, free: 86.17 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (d_p_int,d_h_int) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * 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.003678/0.256, allocations: 2.325 MB / 473.8 MB, free: 85.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003593/0.2564, allocations: 210.8 kB / 474 MB, free: 84.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2564, allocations: 0 / 474 MB, free: 84.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.2565, allocations: 129.4 kB / 474.2 MB, free: 84.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.2569, allocations: 76.58 kB / 474.2 MB, free: 84.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002534/0.2595, allocations: 2.572 MB / 476.8 MB, free: 83.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.432e-05/0.2596, allocations: 125.5 kB / 476.9 MB, free: 83.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003534/0.2599, allocations: 375.1 kB / 477.3 MB, free: 83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.26, allocations: 72.3 kB / 477.4 MB, free: 82.96 MB / 410.7 MB Notification: Performance of SimCode: time 1.613e-06/0.26, allocations: 0 / 477.4 MB, free: 82.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05133/0.3114, allocations: 37.6 MB / 0.5029 GB, free: 53.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.858/8.169, allocations: 3.125 kB / 0.5029 GB, free: 53.46 MB / 410.7 MB " [Timeout remaining time 652] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-10 HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesWater.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.93661243095994] Failed to read output from testmodel.py, exit status != 0: 8.272890772670507 8.279469279 8.240673524 Calling exit ...