Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.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.001836/0.001836, allocations: 78.25 kB / 19.76 MB, free: 2.027 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.001903/0.001903, allocations: 159 kB / 23.01 MB, free: 4.949 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.425/1.425, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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.04962/0.04962, allocations: 7.537 MB / 267.3 MB, free: 9.57 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: translateModel(HelmholtzMedia.Examples.Parameter.State_dT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_dT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 67.91 kB / 392.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1033, allocations: 54.92 MB / 447.7 MB, free: 4.605 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_dT_parameter): time 0.02092/0.1242, allocations: 15.7 MB / 463.4 MB, free: 4.836 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01647/0.1407, allocations: 13.73 MB / 477.1 MB, free: 7.062 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001463/0.1408, allocations: 0 / 477.1 MB, free: 7.062 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.142, allocations: 335.5 kB / 477.4 MB, free: 6.734 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00324/0.1453, allocations: 1.332 MB / 478.7 MB, free: 5.398 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01116/0.1564, allocations: 4.656 MB / 483.4 MB, free: 0.7305 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002261/0.1567, allocations: 147 kB / 483.5 MB, free: 0.5859 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.162e-05/0.1567, allocations: 9.297 kB / 483.6 MB, free: 0.5742 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.1569, allocations: 71.66 kB / 483.6 MB, free: 0.5039 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.013e-05/0.157, allocations: 51.7 kB / 483.7 MB, free: 464 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.157, allocations: 4 kB / 483.7 MB, free: 460 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2024/0.3593, allocations: 5.886 MB / 489.6 MB, free: 48.22 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.927e-05/0.3594, allocations: 16.75 kB / 489.6 MB, free: 48.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.495e-05/0.3594, allocations: 48.47 kB / 489.6 MB, free: 48.22 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006596/0.366, allocations: 2.94 MB / 492.6 MB, free: 48.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.366, allocations: 0 / 492.6 MB, free: 48.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.366, allocations: 0 / 492.6 MB, free: 48.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.3661, allocations: 0 / 492.6 MB, free: 48.14 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001285/0.3673, allocations: 0.7339 MB / 493.3 MB, free: 47.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.3674, allocations: 8.344 kB / 493.3 MB, free: 47.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003904/0.3678, allocations: 61.27 kB / 493.4 MB, free: 47.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.213e-05/0.3678, allocations: 120.9 kB / 493.5 MB, free: 47.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.3679, allocations: 3.594 kB / 493.5 MB, free: 47.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.3679, allocations: 7.719 kB / 493.5 MB, free: 47.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.3682, allocations: 271.5 kB / 493.8 MB, free: 47.47 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3682, allocations: 0.9375 kB / 493.8 MB, free: 47.47 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.3682, allocations: 2.938 kB / 493.8 MB, free: 47.47 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.3682, allocations: 7.25 kB / 493.8 MB, free: 47.47 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004017/0.3686, allocations: 466.2 kB / 494.2 MB, free: 47.47 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000227/0.3688, allocations: 274.5 kB / 494.5 MB, free: 47.33 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002633/0.3691, allocations: 235.8 kB / 494.7 MB, free: 47.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.3693, allocations: 205.8 kB / 494.9 MB, free: 47.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01228/0.3816, allocations: 3.093 MB / 498 MB, free: 47.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.3816, allocations: 36.56 kB / 498.1 MB, free: 47.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 2.314e-06/0.3816, allocations: 3.125 kB / 498.1 MB, free: 47.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=41): time 0.0008398/0.3824, allocations: 0.7014 MB / 498.8 MB, free: 47.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.3825, allocations: 58.09 kB / 498.8 MB, free: 47.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.349e-05/0.3825, allocations: 96.38 kB / 498.9 MB, free: 46.99 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.3825, allocations: 28.52 kB / 498.9 MB, free: 46.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.991e-05/0.3825, allocations: 85.83 kB / 499 MB, free: 46.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.51e-05/0.3826, allocations: 143.9 kB / 499.2 MB, free: 46.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.973e-05/0.3827, allocations: 47.44 kB / 499.2 MB, free: 46.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.287e-05/0.3827, allocations: 329.2 kB / 499.5 MB, free: 46.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.3829, allocations: 196.4 kB / 499.7 MB, free: 46.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.3831, allocations: 204.9 kB / 499.9 MB, free: 46.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004168/0.3835, allocations: 467.9 kB / 0.4887 GB, free: 46.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3835, allocations: 0 / 0.4887 GB, free: 46.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005079/0.384, allocations: 0.5206 MB / 0.4892 GB, free: 46.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.3841, allocations: 3.094 kB / 0.4892 GB, free: 46.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3841, allocations: 3.125 kB / 0.4892 GB, free: 46.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.3841, allocations: 0 / 0.4892 GB, free: 46.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.3842, allocations: 32.58 kB / 0.4892 GB, free: 46.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3842, allocations: 0 / 0.4892 GB, free: 46.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.088e-05/0.3843, allocations: 19 kB / 0.4892 GB, free: 46.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.3843, allocations: 14.14 kB / 0.4892 GB, free: 46.29 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (state.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.99e-05/0.3844, allocations: 115.9 kB / 0.4893 GB, free: 46.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.3844, allocations: 9.859 kB / 0.4894 GB, free: 46.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006718/0.3851, allocations: 0.7008 MB / 0.49 GB, free: 45.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3851, allocations: 3.156 kB / 0.49 GB, free: 45.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3851, allocations: 2.5 kB / 0.49 GB, free: 45.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.3851, allocations: 4 kB / 0.49 GB, free: 45.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008382/0.386, allocations: 0.8694 MB / 0.4909 GB, free: 45.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.386, allocations: 3.125 kB / 0.4909 GB, free: 45.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.3861, allocations: 33.72 kB / 0.4909 GB, free: 45.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.3861, allocations: 6.875 kB / 0.4909 GB, free: 45.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.3861, allocations: 11.03 kB / 0.4909 GB, free: 45.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.3861, allocations: 3.375 kB / 0.491 GB, free: 45.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.3861, allocations: 10.25 kB / 0.491 GB, free: 45.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003384/0.3864, allocations: 379.2 kB / 0.4913 GB, free: 45.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.384e-05/0.3865, allocations: 22.11 kB / 0.4913 GB, free: 45.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.3865, allocations: 15.27 kB / 0.4914 GB, free: 45.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.3866, allocations: 5.062 kB / 0.4914 GB, free: 45.31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.3867, allocations: 22.73 kB / 0.4914 GB, free: 45.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.3867, allocations: 16.11 kB / 0.4914 GB, free: 45.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.3868, allocations: 172.4 kB / 0.4916 GB, free: 45.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3868, allocations: 0 / 0.4916 GB, free: 45.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001802/0.3886, allocations: 0.749 MB / 0.4923 GB, free: 45.09 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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 Backend phase and start with SimCode phase: time 0.002485/0.3911, allocations: 1.229 MB / 0.4935 GB, free: 44.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004107/0.3915, allocations: 307.2 kB / 0.4938 GB, free: 44.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3915, allocations: 4 kB / 0.4938 GB, free: 44.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.3916, allocations: 104.9 kB / 0.4939 GB, free: 44.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000606/0.3922, allocations: 78 kB / 0.494 GB, free: 44.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005497/0.3928, allocations: 428.3 kB / 0.4944 GB, free: 44.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.101e-05/0.3928, allocations: 93.03 kB / 0.4945 GB, free: 44.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002853/0.3931, allocations: 286.1 kB / 0.4947 GB, free: 44.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.3932, allocations: 29.31 kB / 0.4948 GB, free: 44.43 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3932, allocations: 0 / 0.4948 GB, free: 44.43 MB / 446.1 MB Notification: Performance of Templates: time 0.03665/0.4298, allocations: 26.2 MB / 0.5204 GB, free: 39.67 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.533620920963585] Failed to read output from testmodel.py, exit status != 0: 0.4380842229584232 0.44792730100000006 0.079348467 Calling exit ...