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.001285/0.001285, 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.001598/0.001598, allocations: 190.4 kB / 16.13 MB, free: 6.656 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.245/1.245, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1252/0.1252, allocations: 2.758 MB / 292.7 MB, free: 3.73 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001017/0.001016, allocations: 59.91 kB / 353.7 MB, free: 5.055 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09553/0.09657, allocations: 50.24 MB / 404 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit): time 0.2245/0.3212, allocations: 96.49 MB / 0.4887 GB, free: 4.145 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.04924/0.3705, allocations: 59.07 MB / 0.5464 GB, free: 5.766 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001605/0.3721, allocations: 7.938 kB / 0.5464 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003754/0.3759, allocations: 1.283 MB / 0.5477 GB, free: 4.469 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02368/0.3996, allocations: 6.737 MB / 0.5542 GB, free: 13.7 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01068/0.4103, allocations: 2.684 MB / 0.5569 GB, free: 11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002892/0.4133, allocations: 1.768 MB / 0.5586 GB, free: 9.219 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004088/0.4137, allocations: 142.7 kB / 0.5587 GB, free: 9.082 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006928/0.4206, allocations: 0.6821 MB / 0.5594 GB, free: 8.434 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001169/0.4218, allocations: 0.5752 MB / 0.5599 GB, free: 7.855 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001734/0.422, allocations: 36 kB / 0.56 GB, free: 7.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01713/0.4391, allocations: 3.946 MB / 0.5638 GB, free: 3.891 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003631/0.4395, allocations: 174.8 kB / 0.564 GB, free: 3.719 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001255/0.4408, allocations: 0.6647 MB / 0.5647 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01505/0.4558, allocations: 3.78 MB / 0.5683 GB, free: 15.26 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4559, allocations: 0 / 0.5683 GB, free: 15.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4559, allocations: 0 / 0.5683 GB, free: 15.26 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.141e-05/0.4559, allocations: 4 kB / 0.5683 GB, free: 15.26 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.003402/0.4593, allocations: 2.018 MB / 0.5703 GB, free: 13.19 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.857e-05/0.4594, allocations: 8.031 kB / 0.5703 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004898/0.4643, allocations: 1.405 MB / 0.5717 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007143/0.465, allocations: 494.6 kB / 0.5722 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.133e-05/0.4652, allocations: 86.52 kB / 0.5723 GB, free: 11.17 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.4653, allocations: 104.4 kB / 0.5724 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002929/0.4682, allocations: 1.917 MB / 0.5742 GB, free: 9.086 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.4683, allocations: 0 / 0.5742 GB, free: 9.086 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-05/0.4684, allocations: 44 kB / 0.5743 GB, free: 9.043 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-05/0.4685, allocations: 91.94 kB / 0.5744 GB, free: 8.953 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002764/0.4712, allocations: 1.839 MB / 0.5762 GB, free: 7.109 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2028/0.674, allocations: 9.187 MB / 0.5851 GB, free: 137.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.6755, allocations: 0.8004 MB / 0.5859 GB, free: 137.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007576/0.6763, allocations: 0.6833 MB / 0.5866 GB, free: 137.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002219/0.6785, allocations: 2.918 MB / 0.5894 GB, free: 134.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.6786, allocations: 40 kB / 0.5895 GB, free: 134.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=194): time 2.285e-06/0.6786, allocations: 0 / 0.5895 GB, free: 134.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=194): time 0.002455/0.681, allocations: 1.386 MB / 0.5908 GB, free: 134.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.6811, allocations: 85.27 kB / 0.5909 GB, free: 134.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.6813, allocations: 201.9 kB / 0.5911 GB, free: 134 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.6813, allocations: 29.7 kB / 0.5911 GB, free: 134 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.6815, allocations: 445.5 kB / 0.5915 GB, free: 133.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003087/0.6818, allocations: 0.6025 MB / 0.5921 GB, free: 133.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/0.6821, allocations: 175.9 kB / 0.5923 GB, free: 133.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.402e-05/0.6821, allocations: 309.3 kB / 0.5926 GB, free: 132.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004686/0.6826, allocations: 314.6 kB / 0.5929 GB, free: 132.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000598/0.6832, allocations: 0.543 MB / 0.5934 GB, free: 132.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.6844, allocations: 1.024 MB / 0.5944 GB, free: 131.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.6844, allocations: 1.219 kB / 0.5944 GB, free: 131.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.001367/0.6858, allocations: 1.011 MB / 0.5954 GB, free: 131.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.6858, allocations: 14.12 kB / 0.5954 GB, free: 131.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.6858, allocations: 8.25 kB / 0.5954 GB, free: 131.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/0.6858, allocations: 9.406 kB / 0.5954 GB, free: 131.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000378/0.6862, allocations: 108.2 kB / 0.5955 GB, free: 131.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004341/0.6867, allocations: 1.185 MB / 0.5967 GB, free: 129.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007436/0.6874, allocations: 159 kB / 0.5969 GB, free: 129.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.783e-05/0.6875, allocations: 32.56 kB / 0.5969 GB, free: 129.8 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.0005236/0.688, allocations: 300 kB / 0.5972 GB, free: 129.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.6881, allocations: 58.12 kB / 0.5972 GB, free: 129.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002839/0.691, allocations: 2.949 MB / 0.6001 GB, free: 128.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00243/0.6934, allocations: 2.446 MB / 0.6025 GB, free: 126.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.6934, allocations: 0.6562 kB / 0.6025 GB, free: 126.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/0.6935, allocations: 9.984 kB / 0.6025 GB, free: 126.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006424/0.6999, allocations: 5.665 MB / 0.608 GB, free: 124.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.6999, allocations: 0 / 0.608 GB, free: 124.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000787/0.7007, allocations: 307.1 kB / 0.6083 GB, free: 124.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003857/0.7011, allocations: 295.5 kB / 0.6086 GB, free: 124.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.464e-05/0.7012, allocations: 37.47 kB / 0.6086 GB, free: 124.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000595/0.7018, allocations: 1.271 MB / 0.6099 GB, free: 122.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.7018, allocations: 0 / 0.6099 GB, free: 122.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002611/0.7044, allocations: 2.427 MB / 0.6123 GB, free: 121.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004398/0.7049, allocations: 234.6 kB / 0.6125 GB, free: 121.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.097e-05/0.705, allocations: 40.42 kB / 0.6125 GB, free: 121.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007909/0.7058, allocations: 197.4 kB / 0.6127 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/0.7059, allocations: 117 kB / 0.6128 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.311e-05/0.706, allocations: 52.8 kB / 0.6129 GB, free: 121.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000109/0.7061, allocations: 128.2 kB / 0.613 GB, free: 121.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.7061, allocations: 0 / 0.613 GB, free: 121.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001581/0.7077, allocations: 0.5011 MB / 0.6135 GB, free: 121.2 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.000815/0.7085, allocations: 0.5361 MB / 0.614 GB, free: 121 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002485/0.711, allocations: 2.349 MB / 0.6163 GB, free: 119.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.711, allocations: 0 / 0.6163 GB, free: 119.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001234/0.7123, allocations: 1.07 MB / 0.6173 GB, free: 119 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004027/0.7163, allocations: 0.9472 MB / 0.6183 GB, free: 118.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004341/0.7207, allocations: 3.996 MB / 0.6222 GB, free: 116.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009642/0.7217, allocations: 1.407 MB / 0.6235 GB, free: 115.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001082/0.7228, allocations: 249 kB / 0.6238 GB, free: 115.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.723, allocations: 105.2 kB / 0.6239 GB, free: 115.7 MB / 446.1 MB Notification: Performance of SimCode: time 8.62e-07/0.723, allocations: 1.031 kB / 0.6239 GB, free: 115.7 MB / 446.1 MB Notification: Performance of Templates: time 0.05235/0.7753, allocations: 35.51 MB / 0.6586 GB, free: 97.57 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)