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.001305/0.001305, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001346/0.001346, allocations: 213.1 kB / 22.25 MB, free: 4.855 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.35/1.35, allocations: 230.6 MB / 256 MB, free: 7.797 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.0484/0.0484, allocations: 9.148 MB / 321.6 MB, free: 10.23 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.001896/0.001896, allocations: 71.89 kB / 446.5 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1038, allocations: 54.94 MB / 0.4897 GB, free: 9.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesButane): time 0.01937/0.1232, allocations: 15.84 MB / 0.5052 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2164/0.3396, allocations: 14.97 MB / 0.5198 GB, free: 6.988 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.513e-05/0.3396, allocations: 0.5312 kB / 0.5198 GB, free: 6.988 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005937/0.3402, allocations: 243.8 kB / 0.52 GB, free: 6.984 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01348/0.3537, allocations: 6.402 MB / 0.5263 GB, free: 6.547 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.3552, allocations: 0.6132 MB / 0.5269 GB, free: 6.402 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.3554, allocations: 200.4 kB / 0.5271 GB, free: 6.348 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.821e-05/0.3554, allocations: 5.953 kB / 0.5271 GB, free: 6.348 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.3555, allocations: 95.91 kB / 0.5272 GB, free: 6.336 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.3556, allocations: 62.36 kB / 0.5272 GB, free: 6.316 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.3557, allocations: 2.219 kB / 0.5272 GB, free: 6.316 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01266/0.3683, allocations: 6.946 MB / 0.534 GB, free: 5.836 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.348e-05/0.3683, allocations: 20.06 kB / 0.5341 GB, free: 5.828 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.215e-05/0.3684, allocations: 50.89 kB / 0.5341 GB, free: 5.812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006791/0.3752, allocations: 3.431 MB / 0.5375 GB, free: 5.078 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3752, allocations: 4 kB / 0.5375 GB, free: 5.074 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3752, allocations: 0 / 0.5375 GB, free: 5.074 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.3752, allocations: 1.156 kB / 0.5375 GB, free: 5.074 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.001485/0.3767, allocations: 0.8429 MB / 0.5383 GB, free: 4.449 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.3767, allocations: 9.062 kB / 0.5383 GB, free: 4.449 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.587e-05/0.3768, allocations: 40.09 kB / 0.5383 GB, free: 4.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.3769, allocations: 25.83 kB / 0.5384 GB, free: 4.398 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.3771, allocations: 146.9 kB / 0.5385 GB, free: 4.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.3771, allocations: 10.62 kB / 0.5385 GB, free: 4.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.3771, allocations: 7.172 kB / 0.5385 GB, free: 4.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.3773, allocations: 141.8 kB / 0.5386 GB, free: 4.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.3773, allocations: 0 / 0.5386 GB, free: 4.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.3773, allocations: 4.719 kB / 0.5386 GB, free: 4.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.3773, allocations: 1.281 kB / 0.5386 GB, free: 4.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.3774, allocations: 102.9 kB / 0.5387 GB, free: 4.168 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004774/0.3779, allocations: 456.3 kB / 0.5392 GB, free: 3.801 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.3781, allocations: 109 kB / 0.5393 GB, free: 3.746 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.617e-05/0.3782, allocations: 69.7 kB / 0.5394 GB, free: 3.723 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04482/0.423, allocations: 10.92 MB / 0.55 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.552e-05/0.4231, allocations: 36.53 kB / 0.55 GB, free: 15.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 3.457e-06/0.4231, allocations: 0.6562 kB / 0.55 GB, free: 15.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006104/0.4237, allocations: 235.4 kB / 0.5503 GB, free: 15.7 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.4238, allocations: 83.48 kB / 0.5504 GB, free: 15.6 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.4239, allocations: 121 kB / 0.5505 GB, free: 15.49 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.4239, allocations: 25.7 kB / 0.5505 GB, free: 15.46 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.958e-05/0.424, allocations: 95.53 kB / 0.5506 GB, free: 15.36 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.527e-05/0.424, allocations: 71.53 kB / 0.5507 GB, free: 15.3 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.288e-05/0.4241, allocations: 38.08 kB / 0.5507 GB, free: 15.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.4242, allocations: 322.5 kB / 0.551 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.258e-05/0.4243, allocations: 46.61 kB / 0.551 GB, free: 14.92 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.721e-05/0.4244, allocations: 68.12 kB / 0.5511 GB, free: 14.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.4246, allocations: 126.6 kB / 0.5512 GB, free: 14.8 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.4246, allocations: 0 / 0.5512 GB, free: 14.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002405/0.4248, allocations: 175.3 kB / 0.5514 GB, free: 14.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.4248, allocations: 6.906 kB / 0.5514 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.4248, allocations: 3.938 kB / 0.5514 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.4248, allocations: 0 / 0.5514 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.015e-05/0.4249, allocations: 17 kB / 0.5514 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.4249, allocations: 3.984 kB / 0.5514 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.666e-05/0.425, allocations: 16.73 kB / 0.5514 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.425, allocations: 2.969 kB / 0.5514 GB, free: 14.68 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.0001075/0.4251, allocations: 119.1 kB / 0.5516 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.449e-05/0.4252, allocations: 16.88 kB / 0.5516 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004456/0.4256, allocations: 318 kB / 0.5519 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002848/0.4259, allocations: 245.6 kB / 0.5521 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.4259, allocations: 0 / 0.5521 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.4259, allocations: 4.922 kB / 0.5521 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009877/0.4269, allocations: 0.7124 MB / 0.5528 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.4269, allocations: 3.562 kB / 0.5528 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.4271, allocations: 47.86 kB / 0.5529 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.4271, allocations: 0 / 0.5529 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/0.4271, allocations: 12.36 kB / 0.5529 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4271, allocations: 0 / 0.5529 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/0.4271, allocations: 4 kB / 0.5529 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006131/0.4277, allocations: 0.5253 MB / 0.5534 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.308e-05/0.4277, allocations: 31.75 kB / 0.5534 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.4278, allocations: 0 / 0.5534 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.4279, allocations: 8 kB / 0.5534 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.967e-05/0.4279, allocations: 23.97 kB / 0.5534 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.4279, allocations: 8.562 kB / 0.5535 GB, free: 12.79 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.788e-05/0.428, allocations: 91.27 kB / 0.5535 GB, free: 12.7 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.428, allocations: 0 / 0.5535 GB, free: 12.7 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002841/0.4308, allocations: 0.9501 MB / 0.5545 GB, free: 11.74 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.004808/0.4357, allocations: 2.42 MB / 0.5568 GB, free: 9.457 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000409/0.4361, allocations: 235.9 kB / 0.5571 GB, free: 9.215 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4361, allocations: 4 kB / 0.5571 GB, free: 9.211 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.4362, allocations: 107.8 kB / 0.5572 GB, free: 9.105 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00092/0.4371, allocations: 138.6 kB / 0.5573 GB, free: 8.977 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003307/0.4404, allocations: 2.46 MB / 0.5597 GB, free: 6.441 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.4406, allocations: 125 kB / 0.5598 GB, free: 6.297 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001419/0.4407, allocations: 40.91 kB / 0.5599 GB, free: 6.262 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.4408, allocations: 63.42 kB / 0.5599 GB, free: 6.199 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4408, allocations: 0 / 0.5599 GB, free: 6.199 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07101/0.5118, allocations: 31.74 MB / 0.5909 GB, free: 6.695 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.15, allocations: 15.73 kB / 0.5909 GB, free: 6.68 MB / 430.1 MB " [Timeout remaining time 648] (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: 16.683330089319497] Failed to read output from testmodel.py, exit status != 0: 12.276417343877256 12.301976348 11.92213281 Calling exit ...