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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) 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=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009546/0.0009546, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 191.3 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1531/0.1531, allocations: 2.764 MB / 292.7 MB, free: 3.746 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001036/0.001036, allocations: 51.92 kB / 353.7 MB, free: 5.066 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1072, allocations: 50.23 MB / 403.9 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic): time 0.008369/0.1156, allocations: 8.368 MB / 412.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00696/0.1226, allocations: 9.424 MB / 421.7 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.1227, allocations: 0 / 421.7 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004779/0.1232, allocations: 143.3 kB / 421.9 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002576/0.1235, allocations: 91.42 kB / 422 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1603/0.2839, allocations: 1.331 MB / 423.3 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004297/0.2843, allocations: 300.7 kB / 423.6 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.198e-05/0.2844, allocations: 17.12 kB / 423.6 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004974/0.2894, allocations: 113.1 kB / 423.7 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003079/0.2897, allocations: 91.09 kB / 423.8 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.2897, allocations: 5.469 kB / 423.8 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001854/0.2916, allocations: 0.491 MB / 424.3 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.542e-05/0.2917, allocations: 31.34 kB / 424.3 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.2918, allocations: 84.92 kB / 424.4 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.2929, allocations: 495.8 kB / 424.9 MB, free: 36.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2929, allocations: 3.906 kB / 424.9 MB, free: 36.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2929, allocations: 0 / 424.9 MB, free: 36.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.2929, allocations: 2.625 kB / 424.9 MB, free: 36.8 MB / 350.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.000766/0.2937, allocations: 0.5459 MB / 425.5 MB, free: 36.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.2937, allocations: 10.34 kB / 425.5 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003198/0.294, allocations: 59.72 kB / 425.5 MB, free: 36.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.2942, allocations: 203.5 kB / 425.7 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.2942, allocations: 14.34 kB / 425.7 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.2943, allocations: 13.84 kB / 425.8 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000451/0.2947, allocations: 242.9 kB / 426 MB, free: 36.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.2947, allocations: 2.734 kB / 426 MB, free: 36.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.2948, allocations: 3.375 kB / 426 MB, free: 36.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.2948, allocations: 6.781 kB / 426 MB, free: 36.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000429/0.2952, allocations: 208.4 kB / 426.2 MB, free: 36.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006495/0.2959, allocations: 0.6856 MB / 426.9 MB, free: 35.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005279/0.2964, allocations: 243.6 kB / 427.1 MB, free: 35.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.2966, allocations: 156.7 kB / 427.3 MB, free: 35.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000189/0.2968, allocations: 333.5 kB / 427.6 MB, free: 35.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.2969, allocations: 33.56 kB / 427.6 MB, free: 35.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.484e-06/0.2969, allocations: 0 / 427.6 MB, free: 35.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.002423/0.2993, allocations: 1.237 MB / 428.9 MB, free: 34.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.058e-05/0.2993, allocations: 54.66 kB / 428.9 MB, free: 34.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.38e-05/0.2994, allocations: 127.5 kB / 429.1 MB, free: 34.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.2994, allocations: 29.33 kB / 429.1 MB, free: 34.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.826e-05/0.2995, allocations: 99.17 kB / 429.2 MB, free: 34.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.632e-05/0.2995, allocations: 161.4 kB / 429.3 MB, free: 34.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.936e-05/0.2996, allocations: 59.19 kB / 429.4 MB, free: 34.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.584e-05/0.2997, allocations: 332.6 kB / 429.7 MB, free: 34.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.2999, allocations: 123.2 kB / 429.8 MB, free: 34.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.3001, allocations: 184.5 kB / 430 MB, free: 34.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004411/0.3006, allocations: 340.9 kB / 430.4 MB, free: 34.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3006, allocations: 0 / 430.4 MB, free: 34.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00103/0.3016, allocations: 499.3 kB / 430.8 MB, free: 34.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3016, allocations: 4.75 kB / 430.8 MB, free: 34.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.3017, allocations: 3.062 kB / 430.8 MB, free: 34.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007415/0.3024, allocations: 157.8 kB / 431 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.3025, allocations: 34.52 kB / 431 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000499/0.303, allocations: 0.6678 MB / 431.7 MB, free: 33.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.3032, allocations: 16.73 kB / 431.7 MB, free: 33.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.3032, allocations: 10.42 kB / 431.7 MB, free: 33.51 MB / 350.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.998e-05/0.3033, allocations: 139.2 kB / 431.9 MB, free: 33.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-05/0.3034, allocations: 18.38 kB / 431.9 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009088/0.3043, allocations: 0.7168 MB / 432.6 MB, free: 33.31 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.3043, allocations: 7.25 kB / 432.6 MB, free: 33.31 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.3043, allocations: 6.562 kB / 432.6 MB, free: 33.31 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3043, allocations: 2.734 kB / 432.6 MB, free: 33.31 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003186/0.3047, allocations: 393.1 kB / 433 MB, free: 33.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3047, allocations: 4 kB / 433 MB, free: 33.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002443/0.3049, allocations: 45.91 kB / 433.1 MB, free: 33.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002115/0.3051, allocations: 78.14 kB / 433.1 MB, free: 33.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.3052, allocations: 3.75 kB / 433.1 MB, free: 33.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/0.3063, allocations: 2.597 MB / 435.7 MB, free: 30.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3064, allocations: 0 / 435.7 MB, free: 30.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009714/0.3073, allocations: 0.8351 MB / 436.6 MB, free: 30.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.872e-05/0.3074, allocations: 92.05 kB / 436.7 MB, free: 30.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.3074, allocations: 7.125 kB / 436.7 MB, free: 30.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.3076, allocations: 14.28 kB / 436.7 MB, free: 30.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.3076, allocations: 19.05 kB / 436.7 MB, free: 30.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.3077, allocations: 17.48 kB / 436.7 MB, free: 30.24 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.616e-05/0.3077, allocations: 91.41 kB / 436.8 MB, free: 30.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3077, allocations: 0 / 436.8 MB, free: 30.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003496/0.3081, allocations: 59.75 kB / 436.9 MB, free: 30.16 MB / 350.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.0003229/0.3084, allocations: 186.9 kB / 437 MB, free: 30.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007213/0.3091, allocations: 362.9 kB / 437.4 MB, free: 30.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.3091, allocations: 0 / 437.4 MB, free: 30.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005821/0.3097, allocations: 323.7 kB / 437.7 MB, free: 29.94 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006008/0.3103, allocations: 98.14 kB / 437.8 MB, free: 29.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009528/0.3113, allocations: 0.7549 MB / 438.6 MB, free: 29.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.3115, allocations: 0.7385 MB / 439.3 MB, free: 28.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001547/0.3116, allocations: 39.75 kB / 439.3 MB, free: 28.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.18e-05/0.3117, allocations: 17.06 kB / 439.4 MB, free: 28.84 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3117, allocations: 0 / 439.4 MB, free: 28.84 MB / 350.1 MB Notification: Performance of Templates: time 0.008367/0.32, allocations: 4.843 MB / 444.2 MB, free: 28.52 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.makefile (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)