Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01403/0.01403, allocations: 2.803 MB / 307.3 MB, free: 3.242 MB / 238.1 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 63.91 kB / 428.3 MB, free: 1.855 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2573, allocations: 52.96 MB / 481.3 MB, free: 27.23 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic): time 0.006863/0.2642, allocations: 8.44 MB / 489.7 MB, free: 21.1 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005839/0.2701, allocations: 9.489 MB / 499.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.2702, allocations: 0 / 499.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004867/0.2707, allocations: 171 kB / 499.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.271, allocations: 94.33 kB / 499.4 MB, free: 13.92 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.Medium.setSat_p'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1132:25-1146:21:writable] Warning: Pure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.Medium.setBubbleState' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.Medium.setState_ph'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1148:25-1162:18:writable] Warning: Pure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.Medium.setDewState' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.Medium.setState_ph'. Notification: Performance of NFTyping.typeClassSections: time 0.003406/0.2744, allocations: 1.455 MB / 0.4892 GB, free: 13.06 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003558/0.2747, allocations: 263.2 kB / 0.4894 GB, free: 12.95 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.731e-05/0.2748, allocations: 7.812 kB / 0.4894 GB, free: 12.95 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004385/0.2792, allocations: 132.5 kB / 0.4895 GB, free: 12.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002267/0.2794, allocations: 90.38 kB / 0.4896 GB, free: 12.85 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.072e-05/0.2794, allocations: 7.781 kB / 0.4896 GB, free: 12.85 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001774/0.2812, allocations: 475.1 kB / 0.4901 GB, free: 12.78 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.255e-05/0.2813, allocations: 30.45 kB / 0.4901 GB, free: 12.76 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.457e-05/0.2814, allocations: 88.52 kB / 0.4902 GB, free: 12.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.2824, allocations: 0.4954 MB / 0.4907 GB, free: 12.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2824, allocations: 1.375 kB / 0.4907 GB, free: 12.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2824, allocations: 0 / 0.4907 GB, free: 12.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.2824, allocations: 0 / 0.4907 GB, free: 12.52 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007602/0.2832, allocations: 0.5543 MB / 0.4912 GB, free: 12.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.2832, allocations: 14.16 kB / 0.4912 GB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003432/0.2836, allocations: 58.06 kB / 0.4913 GB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.2838, allocations: 206.8 kB / 0.4915 GB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.2838, allocations: 13.78 kB / 0.4915 GB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/0.2838, allocations: 11 kB / 0.4915 GB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005218/0.2843, allocations: 242 kB / 0.4918 GB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.2844, allocations: 0 / 0.4918 GB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.2844, allocations: 5.5 kB / 0.4918 GB, free: 11.67 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.2844, allocations: 13.95 kB / 0.4918 GB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005144/0.2849, allocations: 210 kB / 0.492 GB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007797/0.2857, allocations: 0.6745 MB / 0.4926 GB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006082/0.2863, allocations: 218 kB / 0.4928 GB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.2865, allocations: 135.4 kB / 0.493 GB, free: 10.87 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000252/0.2868, allocations: 328.6 kB / 0.4933 GB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.2868, allocations: 32.03 kB / 0.4933 GB, free: 10.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=44): time 1.593e-06/0.2868, allocations: 5.25 kB / 0.4933 GB, free: 10.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.002841/0.2896, allocations: 1.244 MB / 0.4945 GB, free: 9.883 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.993e-05/0.2897, allocations: 53.88 kB / 0.4946 GB, free: 9.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.733e-05/0.2897, allocations: 121.5 kB / 0.4947 GB, free: 9.715 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.2898, allocations: 29.7 kB / 0.4947 GB, free: 9.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.873e-05/0.2898, allocations: 101.7 kB / 0.4948 GB, free: 9.582 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.144e-05/0.2899, allocations: 166.1 kB / 0.495 GB, free: 9.449 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.239e-05/0.29, allocations: 63.8 kB / 0.495 GB, free: 9.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.796e-05/0.29, allocations: 333.5 kB / 0.4954 GB, free: 9.086 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/0.2902, allocations: 125.4 kB / 0.4955 GB, free: 9.039 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.2905, allocations: 185.4 kB / 0.4957 GB, free: 8.934 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004757/0.291, allocations: 341.2 kB / 0.496 GB, free: 8.746 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.291, allocations: 1.562 kB / 0.496 GB, free: 8.746 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001047/0.292, allocations: 482.5 kB / 0.4964 GB, free: 8.547 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.292, allocations: 8.922 kB / 0.4965 GB, free: 8.547 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.2921, allocations: 1.375 kB / 0.4965 GB, free: 8.547 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000806/0.2929, allocations: 161.6 kB / 0.4966 GB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.2931, allocations: 38.31 kB / 0.4966 GB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006471/0.2937, allocations: 0.6721 MB / 0.4973 GB, free: 7.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.2939, allocations: 11.89 kB / 0.4973 GB, free: 7.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.2939, allocations: 7.719 kB / 0.4973 GB, free: 7.91 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (medium.phaseOutput,medium.state.phase,medium.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,8)} Notification: Performance of prepare postOptimizeDAE: time 9.678e-05/0.294, allocations: 135.9 kB / 0.4975 GB, free: 7.777 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.425e-05/0.2941, allocations: 18.73 kB / 0.4975 GB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.143e-05/0.2941, allocations: 29.09 kB / 0.4975 GB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.2941, allocations: 11.36 kB / 0.4975 GB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.2941, allocations: 0 / 0.4975 GB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2941, allocations: 6.031 kB / 0.4975 GB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.2944, allocations: 299.3 kB / 0.4978 GB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2944, allocations: 0.7031 kB / 0.4978 GB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002652/0.2947, allocations: 48.08 kB / 0.4978 GB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003349/0.295, allocations: 68.75 kB / 0.4979 GB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.295, allocations: 15.75 kB / 0.4979 GB, free: 7.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/0.2965, allocations: 2.92 MB / 0.5008 GB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2965, allocations: 96 / 0.5008 GB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.2975, allocations: 0.7049 MB / 0.5015 GB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.237e-05/0.2976, allocations: 95.05 kB / 0.5016 GB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.2976, allocations: 5.531 kB / 0.5016 GB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.2978, allocations: 20.94 kB / 0.5016 GB, free: 3.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.292e-05/0.2978, allocations: 25.05 kB / 0.5016 GB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.2979, allocations: 6.516 kB / 0.5016 GB, free: 3.922 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.429e-05/0.2979, allocations: 96.48 kB / 0.5017 GB, free: 3.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2979, allocations: 0 / 0.5017 GB, free: 3.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003657/0.2983, allocations: 61.97 kB / 0.5018 GB, free: 3.832 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (medium.p,medium.h) * Number of discrete variables: 2 (medium.state.phase,medium.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003502/0.2986, allocations: 191.5 kB / 0.5019 GB, free: 3.695 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008236/0.2994, allocations: 342.1 kB / 0.5023 GB, free: 3.578 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2994, allocations: 4 kB / 0.5023 GB, free: 3.574 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005427/0.3, allocations: 293 kB / 0.5026 GB, free: 3.398 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000626/0.3006, allocations: 92.25 kB / 0.5026 GB, free: 3.371 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.3018, allocations: 0.6981 MB / 0.5033 GB, free: 2.957 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001823/0.302, allocations: 0.7361 MB / 0.504 GB, free: 2.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002484/0.3022, allocations: 109.9 kB / 0.5041 GB, free: 2.242 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.835e-05/0.3023, allocations: 20 kB / 0.5042 GB, free: 2.234 MB / 366.1 MB Notification: Performance of SimCode: time 5e-07/0.3023, allocations: 0 / 0.5042 GB, free: 2.234 MB / 366.1 MB Notification: Performance of Templates: time 0.01021/0.3125, allocations: 5.483 MB / 0.5095 GB, free: 272 kB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.pipe >> ../files/ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.sim & ./ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.852881736122072]