Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.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.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00117/0.00117, allocations: 195.6 kB / 16.25 MB, free: 6.621 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.282/1.282, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1376/0.1376, allocations: 2.752 MB / 292.8 MB, free: 3.762 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 63.89 kB / 353.9 MB, free: 4.918 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09872/0.09997, allocations: 50.23 MB / 404.1 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit): time 0.241/0.341, allocations: 96.32 MB / 0.4887 GB, free: 4.145 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.04745/0.3885, allocations: 58.85 MB / 0.5462 GB, free: 6.027 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001604/0.3901, allocations: 8 kB / 0.5462 GB, free: 6.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004348/0.3945, allocations: 1.286 MB / 0.5475 GB, free: 4.727 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02292/0.4175, allocations: 6.749 MB / 0.5541 GB, free: 13.94 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01117/0.4287, allocations: 2.686 MB / 0.5567 GB, free: 11.24 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003777/0.4325, allocations: 1.743 MB / 0.5584 GB, free: 9.492 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002762/0.4328, allocations: 135.9 kB / 0.5585 GB, free: 9.359 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006551/0.4393, allocations: 0.7467 MB / 0.5592 GB, free: 8.645 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001078/0.4404, allocations: 0.5948 MB / 0.5598 GB, free: 8.047 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.4406, allocations: 76 kB / 0.5599 GB, free: 7.973 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02031/0.4609, allocations: 3.798 MB / 0.5636 GB, free: 4.203 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004266/0.4614, allocations: 214.8 kB / 0.5638 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001375/0.4628, allocations: 0.7115 MB / 0.5645 GB, free: 3.277 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01902/0.4818, allocations: 3.799 MB / 0.5682 GB, free: 15.47 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.4818, allocations: 3.938 kB / 0.5682 GB, free: 15.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4818, allocations: 0 / 0.5682 GB, free: 15.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.92e-05/0.4819, allocations: 0 / 0.5682 GB, free: 15.46 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: 438 * Number of variables: 438 Notification: Performance of Generate backend data structure: time 0.003175/0.485, allocations: 2.01 MB / 0.5702 GB, free: 13.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.4851, allocations: 11.97 kB / 0.5702 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004888/0.49, allocations: 1.408 MB / 0.5716 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007561/0.4908, allocations: 498.6 kB / 0.572 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.701e-05/0.4909, allocations: 83.39 kB / 0.5721 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.491, allocations: 104.4 kB / 0.5722 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002739/0.4938, allocations: 1.909 MB / 0.5741 GB, free: 9.301 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/0.4938, allocations: 4 kB / 0.5741 GB, free: 9.297 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.504e-05/0.4939, allocations: 47.94 kB / 0.5741 GB, free: 9.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.162e-05/0.494, allocations: 91.94 kB / 0.5742 GB, free: 9.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002496/0.4965, allocations: 1.843 MB / 0.576 GB, free: 7.312 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.196/0.6925, allocations: 9.181 MB / 0.585 GB, free: 137.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002045/0.6946, allocations: 0.8019 MB / 0.5858 GB, free: 137.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/0.6957, allocations: 0.6859 MB / 0.5864 GB, free: 137.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003373/0.6991, allocations: 2.921 MB / 0.5893 GB, free: 135 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.6992, allocations: 35.12 kB / 0.5893 GB, free: 135 MB / 446.1 MB Notification: Performance of pre-optimization done (n=194): time 4.368e-06/0.6992, allocations: 3.031 kB / 0.5893 GB, free: 135 MB / 446.1 MB Notification: Performance of matching and sorting (n=194): time 0.0034/0.7026, allocations: 1.385 MB / 0.5907 GB, free: 134.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.661e-05/0.7027, allocations: 84.11 kB / 0.5908 GB, free: 134.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.703, allocations: 200.2 kB / 0.591 GB, free: 134.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.703, allocations: 32.83 kB / 0.591 GB, free: 134.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/0.7032, allocations: 442.4 kB / 0.5914 GB, free: 133.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004281/0.7037, allocations: 0.5988 MB / 0.592 GB, free: 133.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002879/0.704, allocations: 177.1 kB / 0.5922 GB, free: 133.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.625e-05/0.704, allocations: 313.4 kB / 0.5925 GB, free: 132.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006275/0.7047, allocations: 306.9 kB / 0.5928 GB, free: 132.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008036/0.7055, allocations: 0.5543 MB / 0.5933 GB, free: 132.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001664/0.7072, allocations: 1.017 MB / 0.5943 GB, free: 131.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.7072, allocations: 3.094 kB / 0.5943 GB, free: 131.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.002019/0.7092, allocations: 1.01 MB / 0.5953 GB, free: 131.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/0.7093, allocations: 9.562 kB / 0.5953 GB, free: 131.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/0.7093, allocations: 6.375 kB / 0.5953 GB, free: 131.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.933e-05/0.7093, allocations: 11.64 kB / 0.5953 GB, free: 131.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004825/0.7098, allocations: 102.1 kB / 0.5954 GB, free: 131.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004478/0.7103, allocations: 1.191 MB / 0.5966 GB, free: 130 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009697/0.7113, allocations: 155.6 kB / 0.5967 GB, free: 129.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.488e-05/0.7113, allocations: 32.97 kB / 0.5967 GB, free: 129.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 14 (medium2.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,medium2.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium2.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium2.completeBubbleDewStates.dewStateOnePhase.state.phase,medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,medium1.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium1.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium1.completeBubbleDewStates.dewStateOnePhase.state.phase,medium1.completeState.state.phase,medium1.baseProperties.phaseOutput,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005576/0.7119, allocations: 304 kB / 0.597 GB, free: 129.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.7121, allocations: 58.06 kB / 0.5971 GB, free: 129.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003947/0.716, allocations: 2.948 MB / 0.6 GB, free: 128.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00356/0.7196, allocations: 2.44 MB / 0.6024 GB, free: 127.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.429e-05/0.7196, allocations: 3.344 kB / 0.6024 GB, free: 127.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.148e-05/0.7197, allocations: 10.08 kB / 0.6024 GB, free: 127.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008006/0.7277, allocations: 5.67 MB / 0.6079 GB, free: 124.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/0.7277, allocations: 0 / 0.6079 GB, free: 124.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008621/0.7286, allocations: 307.8 kB / 0.6082 GB, free: 124.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003762/0.729, allocations: 276.4 kB / 0.6085 GB, free: 124.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001231/0.7291, allocations: 35.64 kB / 0.6085 GB, free: 124.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006838/0.7298, allocations: 1.274 MB / 0.6097 GB, free: 123.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.7299, allocations: 0 / 0.6097 GB, free: 123.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002946/0.7328, allocations: 2.425 MB / 0.6121 GB, free: 121.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005136/0.7333, allocations: 233 kB / 0.6123 GB, free: 121.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.519e-05/0.7334, allocations: 40.66 kB / 0.6124 GB, free: 121.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.7345, allocations: 201.7 kB / 0.6126 GB, free: 121.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/0.7346, allocations: 115.4 kB / 0.6127 GB, free: 121.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.497e-05/0.7347, allocations: 51.69 kB / 0.6127 GB, free: 121.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.858e-05/0.7348, allocations: 131 kB / 0.6128 GB, free: 121.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.7348, allocations: 0 / 0.6128 GB, free: 121.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001466/0.7363, allocations: 0.4917 MB / 0.6133 GB, free: 121.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 22 (medium1.completeState.state.phase,medium1.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,medium1.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium1.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium1.completeBubbleDewStates.dewStateOnePhase.state.phase,$cse7.phase,$cse8.phase,$cse9.phase,$cse10.phase,$cse12.phase,medium1.baseProperties.phaseOutput,medium2.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,medium2.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium2.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium2.completeBubbleDewStates.dewStateOnePhase.state.phase,medium2.completeState.state.phase,$cse1.phase,$cse2.phase,$cse3.phase,$cse4.phase,$cse6.phase,medium2.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (204): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008647/0.7372, allocations: 0.5459 MB / 0.6139 GB, free: 121.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005161/0.7423, allocations: 2.438 MB / 0.6162 GB, free: 119.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.7424, allocations: 0 / 0.6162 GB, free: 119.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001243/0.7436, allocations: 1.071 MB / 0.6173 GB, free: 119.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004326/0.7479, allocations: 0.9881 MB / 0.6182 GB, free: 118.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005475/0.7534, allocations: 3.986 MB / 0.6221 GB, free: 116.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00165/0.7551, allocations: 1.412 MB / 0.6235 GB, free: 115.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00132/0.7564, allocations: 244.1 kB / 0.6238 GB, free: 115.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002653/0.7567, allocations: 115 kB / 0.6239 GB, free: 115.8 MB / 446.1 MB Notification: Performance of SimCode: time 8.32e-07/0.7567, allocations: 0 / 0.6239 GB, free: 115.8 MB / 446.1 MB Notification: Performance of Templates: time 0.05617/0.8129, allocations: 37.08 MB / 0.6601 GB, free: 96.06 MB / 446.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.makefile (rm -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.sim & ./ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.pipe 2>&1)