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.001345/0.001345, allocations: 69.98 kB / 20.65 MB, free: 3.848 MB / 18.57 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.001584/0.001584, allocations: 173.4 kB / 24.06 MB, free: 452 kB / 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 1.042/1.042, allocations: 177.1 MB / 204.5 MB, free: 5.109 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.03377/0.03377, allocations: 7.519 MB / 268.6 MB, free: 5.68 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: translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesHelium,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium") translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesHelium,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 339.9 MB, free: 10.67 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.354e-05/1.503e-05, allocations: 2.312 kB / 339.9 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesHelium): time 0.01271/0.01273, allocations: 17.35 MB / 357.3 MB, free: 9.25 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0126/0.02533, allocations: 16.9 MB / 374.2 MB, free: 8.293 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.803e-05/0.02537, allocations: 0 / 374.2 MB, free: 8.293 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005198/0.02589, allocations: 255.2 kB / 374.4 MB, free: 8.043 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01098/0.03688, allocations: 6.942 MB / 381.3 MB, free: 1.074 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009275/0.03781, allocations: 0.6765 MB / 382 MB, free: 400 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.03797, allocations: 218.9 kB / 382.2 MB, free: 180 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.42e-05/0.03801, allocations: 9.297 kB / 382.2 MB, free: 168 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.03815, allocations: 135.6 kB / 382.4 MB, free: 32 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.037e-05/0.03822, allocations: 31.92 kB / 382.4 MB, free: 0 / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.03824, allocations: 4.047 kB / 382.4 MB, free: 15.99 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008365/0.04661, allocations: 7.055 MB / 389.5 MB, free: 8.926 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.04663, allocations: 11.86 kB / 389.5 MB, free: 8.914 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.749e-05/0.04668, allocations: 39.92 kB / 389.5 MB, free: 8.875 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004784/0.05146, allocations: 4.033 MB / 393.6 MB, free: 4.832 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.05146, allocations: 0 / 393.6 MB, free: 4.832 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.05146, allocations: 0 / 393.6 MB, free: 4.832 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.05147, allocations: 0 / 393.6 MB, free: 4.832 MB / 314.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.001074/0.05254, allocations: 0.9403 MB / 394.5 MB, free: 3.852 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.05259, allocations: 8.625 kB / 394.5 MB, free: 3.844 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001929/0.05278, allocations: 39.81 kB / 394.5 MB, free: 3.805 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.05291, allocations: 139.9 kB / 394.7 MB, free: 3.641 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.05292, allocations: 8 kB / 394.7 MB, free: 3.633 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.05293, allocations: 4 kB / 394.7 MB, free: 3.629 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.05305, allocations: 97.02 kB / 394.8 MB, free: 3.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.05305, allocations: 3.938 kB / 394.8 MB, free: 3.516 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.05306, allocations: 0 / 394.8 MB, free: 3.516 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.05307, allocations: 4 kB / 394.8 MB, free: 3.512 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.627e-05/0.05311, allocations: 39.92 kB / 394.8 MB, free: 3.473 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003976/0.05351, allocations: 479 kB / 395.3 MB, free: 2.973 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.05364, allocations: 102 kB / 395.4 MB, free: 2.848 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.362e-05/0.05369, allocations: 63.45 kB / 395.5 MB, free: 2.777 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02101/0.0747, allocations: 8.207 MB / 403.7 MB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.07473, allocations: 41.33 kB / 403.7 MB, free: 10.51 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.653e-06/0.07473, allocations: 0 / 403.7 MB, free: 10.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003488/0.07508, allocations: 181.3 kB / 403.9 MB, free: 10.33 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.07511, allocations: 81.11 kB / 404 MB, free: 10.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.297e-05/0.07518, allocations: 173.9 kB / 404.1 MB, free: 10.04 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.07519, allocations: 29.7 kB / 404.2 MB, free: 10.01 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.192e-05/0.07524, allocations: 135.4 kB / 404.3 MB, free: 9.871 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.235e-05/0.07529, allocations: 87.2 kB / 404.4 MB, free: 9.785 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.311e-05/0.07533, allocations: 47.34 kB / 404.4 MB, free: 9.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.07544, allocations: 0.5 MB / 404.9 MB, free: 9.219 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.571e-05/0.07547, allocations: 19.98 kB / 404.9 MB, free: 9.199 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.234e-05/0.07551, allocations: 53.08 kB / 405 MB, free: 9.141 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.812e-05/0.07559, allocations: 91.09 kB / 405.1 MB, free: 9.047 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.07559, allocations: 0 / 405.1 MB, free: 9.047 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001301/0.07572, allocations: 129.6 kB / 405.2 MB, free: 8.914 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.07573, allocations: 7.938 kB / 405.2 MB, free: 8.906 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.07574, allocations: 4 kB / 405.2 MB, free: 8.902 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.895e-06/0.07575, allocations: 4 kB / 405.2 MB, free: 8.898 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.231e-05/0.0758, allocations: 19.98 kB / 405.2 MB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.0758, allocations: 0 / 405.2 MB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.944e-05/0.07584, allocations: 20.02 kB / 405.3 MB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.07585, allocations: 7.984 kB / 405.3 MB, free: 8.852 MB / 330.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 6.763e-05/0.07592, allocations: 160.5 kB / 405.4 MB, free: 8.684 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.07596, allocations: 19.84 kB / 405.5 MB, free: 8.664 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/0.07619, allocations: 235.8 kB / 405.7 MB, free: 8.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001194/0.07631, allocations: 172.1 kB / 405.8 MB, free: 8.262 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.07631, allocations: 7.938 kB / 405.9 MB, free: 8.254 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.07631, allocations: 0 / 405.9 MB, free: 8.254 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005027/0.07682, allocations: 0.6761 MB / 406.5 MB, free: 7.543 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.07682, allocations: 0 / 406.5 MB, free: 7.543 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.652e-05/0.0769, allocations: 39.92 kB / 406.6 MB, free: 7.504 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.07691, allocations: 0 / 406.6 MB, free: 7.504 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.07692, allocations: 8 kB / 406.6 MB, free: 7.496 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.07692, allocations: 0 / 406.6 MB, free: 7.496 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.07692, allocations: 7.938 kB / 406.6 MB, free: 7.488 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.07721, allocations: 0.4994 MB / 407.1 MB, free: 6.973 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.735e-05/0.07723, allocations: 19.78 kB / 407.1 MB, free: 6.953 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.07724, allocations: 4 kB / 407.1 MB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.526e-05/0.07732, allocations: 4 kB / 407.1 MB, free: 6.945 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.343e-05/0.07734, allocations: 23.91 kB / 407.1 MB, free: 6.922 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.07735, allocations: 4 kB / 407.1 MB, free: 6.918 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.776e-05/0.07738, allocations: 135.2 kB / 407.3 MB, free: 6.785 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07738, allocations: 0 / 407.3 MB, free: 6.785 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001527/0.07891, allocations: 0.9424 MB / 408.2 MB, free: 5.84 MB / 330.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.002406/0.08132, allocations: 1.583 MB / 409.8 MB, free: 4.246 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002/0.08152, allocations: 198.7 kB / 410 MB, free: 4.035 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.08152, allocations: 0 / 410 MB, free: 4.035 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003464/0.08187, allocations: 99.2 kB / 410.1 MB, free: 3.934 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005358/0.0824, allocations: 141.3 kB / 410.2 MB, free: 3.797 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008249/0.08323, allocations: 434.1 kB / 410.7 MB, free: 3.336 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.055e-05/0.08329, allocations: 84.81 kB / 410.7 MB, free: 3.23 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.729e-05/0.08337, allocations: 46.05 kB / 410.8 MB, free: 3.188 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.08356, allocations: 174 kB / 410.9 MB, free: 3.016 MB / 330.7 MB Notification: Performance of SimCode: time 1.172e-06/0.08356, allocations: 0 / 410.9 MB, free: 3.016 MB / 330.7 MB Notification: Performance of Templates: time 0.1342/0.2178, allocations: 32.77 MB / 443.7 MB, free: 41.88 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.makefile [Timeout 660] (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 & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.185511756688356]