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.000774/0.000774, 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.000782/0.000782, 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.8601/0.8601, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.02817/0.02817, allocations: 7.504 MB / 266.7 MB, free: 6.211 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.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 1.733e-06/1.733e-06, allocations: 0 / 391.8 MB, free: 6.355 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.293e-05/1.467e-05, allocations: 2.281 kB / 391.8 MB, free: 6.352 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesButane): time 0.01432/0.01433, allocations: 15.83 MB / 407.6 MB, free: 6.461 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01016/0.02449, allocations: 14.99 MB / 422.6 MB, free: 7.43 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.162e-05/0.02456, allocations: 0 / 422.6 MB, free: 7.43 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005182/0.02507, allocations: 251.2 kB / 422.8 MB, free: 7.184 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01049/0.03557, allocations: 6.5 MB / 429.3 MB, free: 0.6719 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.03664, allocations: 0.6142 MB / 429.9 MB, free: 56 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.03686, allocations: 211 kB / 430.1 MB, free: 15.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.04e-05/0.03691, allocations: 13.25 kB / 430.1 MB, free: 15.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.03705, allocations: 131.6 kB / 430.3 MB, free: 15.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.81e-05/0.03713, allocations: 47.83 kB / 430.3 MB, free: 15.65 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.03714, allocations: 4 kB / 430.3 MB, free: 15.65 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008978/0.04612, allocations: 7.012 MB / 437.3 MB, free: 8.621 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.875e-05/0.04614, allocations: 11.94 kB / 437.3 MB, free: 8.609 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.184e-05/0.04619, allocations: 47.84 kB / 437.4 MB, free: 8.562 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005668/0.05186, allocations: 4.033 MB / 441.4 MB, free: 4.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.05186, allocations: 0 / 441.4 MB, free: 4.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.05186, allocations: 0 / 441.4 MB, free: 4.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.05187, allocations: 0 / 441.4 MB, free: 4.52 MB / 410.7 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.001338/0.05321, allocations: 0.8408 MB / 442.3 MB, free: 3.645 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.05324, allocations: 12.62 kB / 442.3 MB, free: 3.633 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.379e-05/0.05328, allocations: 42.48 kB / 442.3 MB, free: 3.582 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.05339, allocations: 35.83 kB / 442.4 MB, free: 3.547 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.05353, allocations: 137 kB / 442.5 MB, free: 3.387 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.05354, allocations: 8 kB / 442.5 MB, free: 3.379 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.05356, allocations: 8 kB / 442.5 MB, free: 3.371 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.05371, allocations: 142.6 kB / 442.6 MB, free: 3.223 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.05372, allocations: 0 / 442.6 MB, free: 3.223 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.05373, allocations: 0 / 442.6 MB, free: 3.223 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.05374, allocations: 7.984 kB / 442.7 MB, free: 3.215 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.469e-05/0.05383, allocations: 99.91 kB / 442.8 MB, free: 3.117 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006883/0.05452, allocations: 463.6 kB / 443.2 MB, free: 2.621 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.0547, allocations: 109.2 kB / 443.3 MB, free: 2.496 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.198e-05/0.05476, allocations: 61.77 kB / 443.4 MB, free: 2.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1604/0.2151, allocations: 10.92 MB / 454.3 MB, free: 91.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.2151, allocations: 30.56 kB / 454.3 MB, free: 91.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 3.236e-06/0.2152, allocations: 1.531 kB / 454.3 MB, free: 91.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004656/0.2156, allocations: 240.6 kB / 454.6 MB, free: 91.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.2156, allocations: 80.8 kB / 454.6 MB, free: 91.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.357e-05/0.2157, allocations: 116.7 kB / 454.8 MB, free: 91.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.2157, allocations: 25.7 kB / 454.8 MB, free: 91.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.62e-05/0.2157, allocations: 94.91 kB / 454.9 MB, free: 91.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/0.2158, allocations: 79.25 kB / 454.9 MB, free: 91.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.2158, allocations: 36.98 kB / 455 MB, free: 91.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.263e-05/0.2158, allocations: 324.8 kB / 455.3 MB, free: 90.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.241e-05/0.2159, allocations: 45.64 kB / 455.3 MB, free: 90.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.15e-05/0.2159, allocations: 63.78 kB / 455.4 MB, free: 90.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.216, allocations: 129.7 kB / 455.5 MB, free: 90.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.216, allocations: 0 / 455.5 MB, free: 90.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001455/0.2162, allocations: 168.2 kB / 455.7 MB, free: 90.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.2162, allocations: 6.25 kB / 455.7 MB, free: 90.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2162, allocations: 0 / 455.7 MB, free: 90.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.2162, allocations: 0 / 455.7 MB, free: 90.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.012e-05/0.2163, allocations: 26.17 kB / 455.7 MB, free: 90.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.2163, allocations: 0 / 455.7 MB, free: 90.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.754e-05/0.2163, allocations: 13.64 kB / 455.7 MB, free: 90.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.2163, allocations: 3.125 kB / 455.7 MB, free: 90.69 MB / 410.7 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 4.953e-05/0.2164, allocations: 126.4 kB / 455.9 MB, free: 90.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.2164, allocations: 10.62 kB / 455.9 MB, free: 90.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002734/0.2167, allocations: 314.2 kB / 456.2 MB, free: 90.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000149/0.2168, allocations: 248 kB / 456.4 MB, free: 90.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.2168, allocations: 0 / 456.4 MB, free: 90.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.2168, allocations: 5.438 kB / 456.4 MB, free: 90.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005071/0.2174, allocations: 0.7098 MB / 457.1 MB, free: 89.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.2174, allocations: 5.844 kB / 457.1 MB, free: 89.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.996e-05/0.2174, allocations: 40.38 kB / 457.2 MB, free: 89.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.2174, allocations: 6.578 kB / 457.2 MB, free: 89.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.2175, allocations: 7.188 kB / 457.2 MB, free: 89.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2175, allocations: 0 / 457.2 MB, free: 89.81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2175, allocations: 0 / 457.2 MB, free: 89.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.2178, allocations: 0.532 MB / 457.7 MB, free: 89.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.663e-05/0.2178, allocations: 29.73 kB / 457.8 MB, free: 89.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.2178, allocations: 4 kB / 457.8 MB, free: 89.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/0.2179, allocations: 10.78 kB / 457.8 MB, free: 89.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.988e-05/0.2179, allocations: 16.78 kB / 457.8 MB, free: 89.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.2179, allocations: 11.12 kB / 457.8 MB, free: 89.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.28e-05/0.2179, allocations: 95.34 kB / 457.9 MB, free: 89.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2179, allocations: 0 / 457.9 MB, free: 89.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001447/0.2194, allocations: 0.9431 MB / 458.8 MB, free: 89.31 MB / 410.7 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.002465/0.2218, allocations: 2.533 MB / 461.4 MB, free: 88.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002402/0.2221, allocations: 239.3 kB / 461.6 MB, free: 88.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2221, allocations: 0 / 461.6 MB, free: 88.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.495e-05/0.2222, allocations: 103 kB / 461.7 MB, free: 87.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005231/0.2227, allocations: 142.5 kB / 461.8 MB, free: 87.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.2243, allocations: 2.424 MB / 464.3 MB, free: 86.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.492e-05/0.2243, allocations: 127.2 kB / 464.4 MB, free: 86.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.656e-05/0.2244, allocations: 38.91 kB / 464.4 MB, free: 86.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.849e-05/0.2245, allocations: 63.31 kB / 464.5 MB, free: 86.05 MB / 410.7 MB Notification: Performance of SimCode: time 6.72e-07/0.2245, allocations: 0 / 464.5 MB, free: 86.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04686/0.2713, allocations: 31.97 MB / 496.5 MB, free: 72.77 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.445/7.716, allocations: 8.875 kB / 496.5 MB, free: 72.77 MB / 410.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesButane_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-10 HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesButane.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.903155731968582] Failed to read output from testmodel.py, exit status != 0: 7.814304779283702 7.822939355 7.769612873 Calling exit ...