Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.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.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007598/0.0007599, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.006635/0.006635, allocations: 172.7 kB / 16.26 MB, free: 6.613 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.502/1.502, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1546/0.1546, allocations: 2.788 MB / 294.2 MB, free: 4.293 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003863/0.0003863, allocations: 8 kB / 356.2 MB, free: 3.984 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1247, allocations: 51.25 MB / 407.5 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit): time 0.3212/0.446, allocations: 94.75 MB / 0.4905 GB, free: 4.605 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.06343/0.5095, allocations: 58.11 MB / 0.5472 GB, free: 8.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00209/0.5116, allocations: 4 kB / 0.5472 GB, free: 8.086 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005002/0.5167, allocations: 1.286 MB / 0.5485 GB, free: 6.793 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03235/0.5491, allocations: 6.737 MB / 0.555 GB, free: 20 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01207/0.5612, allocations: 2.681 MB / 0.5577 GB, free: 13.32 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003284/0.5645, allocations: 1.767 MB / 0.5594 GB, free: 11.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003061/0.5648, allocations: 133.5 kB / 0.5595 GB, free: 11.42 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006615/0.5714, allocations: 0.6889 MB / 0.5602 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001383/0.5728, allocations: 0.579 MB / 0.5608 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.93e-05/0.5729, allocations: 36 kB / 0.5608 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02646/0.5994, allocations: 3.952 MB / 0.5646 GB, free: 6.215 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006808/0.6001, allocations: 166.9 kB / 0.5648 GB, free: 6.051 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001869/0.602, allocations: 0.6974 MB / 0.5655 GB, free: 5.344 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02418/0.6262, allocations: 3.748 MB / 0.5691 GB, free: 1.586 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.6263, allocations: 0 / 0.5691 GB, free: 1.586 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.6263, allocations: 0 / 0.5691 GB, free: 1.586 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.6263, allocations: 0 / 0.5691 GB, free: 1.586 MB / 430.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.002947/0.6293, allocations: 1.756 MB / 0.5709 GB, free: 15.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.6293, allocations: 16.03 kB / 0.5709 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004895/0.6342, allocations: 1.408 MB / 0.5723 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000735/0.635, allocations: 0.4946 MB / 0.5727 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-05/0.6351, allocations: 82.52 kB / 0.5728 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.6352, allocations: 100.4 kB / 0.5729 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002872/0.6381, allocations: 1.926 MB / 0.5748 GB, free: 11.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.866e-05/0.6381, allocations: 3.938 kB / 0.5748 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.81e-05/0.6382, allocations: 48 kB / 0.5748 GB, free: 11.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.86e-05/0.6383, allocations: 87.94 kB / 0.5749 GB, free: 11.51 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002643/0.641, allocations: 1.851 MB / 0.5767 GB, free: 9.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3/0.941, allocations: 9.193 MB / 0.5857 GB, free: 135.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002701/0.9438, allocations: 0.7812 MB / 0.5865 GB, free: 135.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001562/0.9454, allocations: 0.6658 MB / 0.5871 GB, free: 135.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003936/0.9493, allocations: 2.867 MB / 0.5899 GB, free: 133.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.9494, allocations: 41.56 kB / 0.59 GB, free: 133.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=193): time 3.165e-06/0.9494, allocations: 0 / 0.59 GB, free: 133.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=193): time 0.004417/0.9539, allocations: 1.341 MB / 0.5913 GB, free: 133.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.9539, allocations: 84.08 kB / 0.5913 GB, free: 133.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003186/0.9543, allocations: 209.2 kB / 0.5915 GB, free: 133.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.141e-05/0.9543, allocations: 35.94 kB / 0.5916 GB, free: 133.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002915/0.9546, allocations: 444.8 kB / 0.592 GB, free: 133 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005418/0.9552, allocations: 0.5948 MB / 0.5926 GB, free: 132.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002187/0.9554, allocations: 118.1 kB / 0.5927 GB, free: 132.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.003e-05/0.9555, allocations: 309.9 kB / 0.593 GB, free: 132.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007851/0.9563, allocations: 297.9 kB / 0.5933 GB, free: 132.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009257/0.9572, allocations: 0.5442 MB / 0.5938 GB, free: 132.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001931/0.9592, allocations: 0.9994 MB / 0.5948 GB, free: 131.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/0.9592, allocations: 3.281 kB / 0.5948 GB, free: 131.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.002784/0.962, allocations: 0.9891 MB / 0.5958 GB, free: 131.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.441e-05/0.9621, allocations: 11.78 kB / 0.5958 GB, free: 131.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.923e-05/0.9621, allocations: 12.45 kB / 0.5958 GB, free: 131.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.199e-05/0.9622, allocations: 9.656 kB / 0.5958 GB, free: 131.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005379/0.9627, allocations: 88.53 kB / 0.5959 GB, free: 131.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.619e-05/0.9628, allocations: 13.78 kB / 0.5959 GB, free: 131.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.9642, allocations: 154.5 kB / 0.596 GB, free: 131.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.73e-05/0.9643, allocations: 43.8 kB / 0.5961 GB, free: 131.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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 0.0008002/0.9651, allocations: 297.1 kB / 0.5964 GB, free: 131 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002593/0.9654, allocations: 55.91 kB / 0.5964 GB, free: 130.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004425/0.9698, allocations: 2.757 MB / 0.5991 GB, free: 129.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002797/0.9726, allocations: 2.265 MB / 0.6013 GB, free: 128.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.287e-05/0.9727, allocations: 0.8438 kB / 0.6013 GB, free: 128.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.336e-05/0.9727, allocations: 12.03 kB / 0.6013 GB, free: 128.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009196/0.9819, allocations: 5.467 MB / 0.6067 GB, free: 125.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.687e-05/0.982, allocations: 0.875 kB / 0.6067 GB, free: 125.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008511/0.9828, allocations: 306.2 kB / 0.607 GB, free: 125.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.24e-05/0.9829, allocations: 9.312 kB / 0.607 GB, free: 125.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.983, allocations: 34.03 kB / 0.607 GB, free: 125.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.561e-05/0.983, allocations: 6.438 kB / 0.607 GB, free: 125.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.983, allocations: 3.031 kB / 0.607 GB, free: 125.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003135/0.9862, allocations: 2.143 MB / 0.6091 GB, free: 124.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005477/0.9868, allocations: 239.3 kB / 0.6093 GB, free: 124.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.883e-05/0.9869, allocations: 34.06 kB / 0.6094 GB, free: 124.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.988, allocations: 199.3 kB / 0.6096 GB, free: 124.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.9881, allocations: 115.8 kB / 0.6097 GB, free: 124.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-05/0.9882, allocations: 46.62 kB / 0.6097 GB, free: 124.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.9883, allocations: 139.5 kB / 0.6098 GB, free: 124.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.282e-06/0.9883, allocations: 0 / 0.6098 GB, free: 124.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001708/0.9901, allocations: 0.4982 MB / 0.6103 GB, free: 124.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.completeState.state.phase,medium2.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium2.completeBubbleDewStates.dewStateOnePhase.state.phase,medium2.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,medium2.completeBubbleDewStates.bubbleStateOnePhase.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 (205): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0009175/0.991, allocations: 0.5366 MB / 0.6109 GB, free: 124.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003002/0.994, allocations: 2.306 MB / 0.6131 GB, free: 122.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.994, allocations: 5.75 kB / 0.6131 GB, free: 122.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001595/0.9956, allocations: 1.045 MB / 0.6141 GB, free: 122.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005222/1.001, allocations: 0.9486 MB / 0.6151 GB, free: 121.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005409/1.006, allocations: 4.036 MB / 0.619 GB, free: 119.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001174/1.007, allocations: 1.41 MB / 0.6204 GB, free: 118.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001137/1.009, allocations: 261.5 kB / 0.6206 GB, free: 118.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/1.009, allocations: 106.5 kB / 0.6207 GB, free: 118.8 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/1.009, allocations: 0 / 0.6207 GB, free: 118.8 MB / 446.1 MB Notification: Performance of Templates: time 0.05722/1.066, allocations: 34.47 MB / 0.6544 GB, free: 103 MB / 446.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.makefile Environment - environmentSimulation: (rm -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.sim & ./ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.pipe 2>&1) Environment - environmentSimulation: