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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009669/0.0009669, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 165 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.042/1.042, allocations: 177.1 MB / 203.4 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.008015/0.008015, allocations: 1.997 MB / 261.9 MB, free: 11.07 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 332.3 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.785e-05/2.937e-05, allocations: 6.25 kB / 332.3 MB, free: 2.035 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit): time 0.01107/0.0111, allocations: 15.29 MB / 347.6 MB, free: 2.68 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01043/0.02153, allocations: 13.69 MB / 361.3 MB, free: 4.945 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006764/0.02221, allocations: 7.938 kB / 361.3 MB, free: 4.938 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007912/0.023, allocations: 337.5 kB / 361.6 MB, free: 4.605 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1148:25-1162:18:writable] Warning: Pure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.Medium.setDewState' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.Medium.setState_ph'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1132:25-1146:21:writable] Warning: Pure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.Medium.setBubbleState' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.Medium.setState_ph'. Notification: Performance of NFTyping.typeBindings: time 0.003944/0.02694, allocations: 1.873 MB / 363.5 MB, free: 2.719 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.002169/0.02911, allocations: 0.9904 MB / 364.5 MB, free: 1.723 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001582/0.03069, allocations: 1.83 MB / 366.3 MB, free: 15.88 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.03083, allocations: 51.5 kB / 366.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004547/0.03538, allocations: 0.8854 MB / 367.3 MB, free: 14.95 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004894/0.03587, allocations: 486.6 kB / 367.7 MB, free: 14.47 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.242e-05/0.03595, allocations: 79.94 kB / 367.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002346/0.03829, allocations: 0.769 MB / 368.6 MB, free: 13.62 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002203/0.03851, allocations: 210.9 kB / 368.8 MB, free: 13.42 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005018/0.03902, allocations: 466.9 kB / 369.2 MB, free: 12.96 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002351/0.04137, allocations: 1.467 MB / 370.7 MB, free: 11.49 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.04137, allocations: 3.938 kB / 370.7 MB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.04137, allocations: 0 / 370.7 MB, free: 11.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.604e-05/0.04139, allocations: 0 / 370.7 MB, free: 11.48 MB / 346.7 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.001645/0.04303, allocations: 1.68 MB / 372.4 MB, free: 9.758 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.04308, allocations: 16.03 kB / 372.4 MB, free: 9.742 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003733/0.04681, allocations: 3.019 MB / 375.4 MB, free: 6.719 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006605/0.04747, allocations: 446.8 kB / 375.9 MB, free: 6.254 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.495e-05/0.04753, allocations: 78.52 kB / 375.9 MB, free: 6.176 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.447e-05/0.04761, allocations: 108.4 kB / 376 MB, free: 6.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.04898, allocations: 1.241 MB / 377.3 MB, free: 4.723 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.049, allocations: 8.109 kB / 377.3 MB, free: 4.715 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.687e-05/0.04906, allocations: 48.12 kB / 377.3 MB, free: 4.668 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.223e-05/0.04911, allocations: 95.94 kB / 377.4 MB, free: 4.574 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000858/0.04997, allocations: 0.6855 MB / 378.1 MB, free: 3.887 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003853/0.05382, allocations: 5.132 MB / 383.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006158/0.05444, allocations: 416 kB / 383.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003165/0.05476, allocations: 295.3 kB / 383.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001327/0.05608, allocations: 1.627 MB / 385.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.05611, allocations: 45.39 kB / 385.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=193): time 2.505e-06/0.05611, allocations: 0 / 385.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=193): time 0.001364/0.05748, allocations: 1.09 MB / 386.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.05751, allocations: 81.11 kB / 386.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.05768, allocations: 275.8 kB / 387.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.0577, allocations: 33.7 kB / 387.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.05789, allocations: 0.4966 MB / 387.6 MB, free: 10.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003005/0.05819, allocations: 0.6232 MB / 388.2 MB, free: 9.559 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001758/0.05837, allocations: 195.7 kB / 388.4 MB, free: 9.359 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.05848, allocations: 496.3 kB / 388.9 MB, free: 8.867 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.05868, allocations: 150.4 kB / 389 MB, free: 8.723 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003709/0.05905, allocations: 0.4962 MB / 389.5 MB, free: 8.098 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006679/0.05972, allocations: 0.7866 MB / 390.3 MB, free: 7.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.05972, allocations: 0 / 390.3 MB, free: 7.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.0008266/0.06055, allocations: 0.8364 MB / 391.2 MB, free: 6.336 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.06057, allocations: 8 kB / 391.2 MB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.06058, allocations: 8 kB / 391.2 MB, free: 6.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.0606, allocations: 12 kB / 391.2 MB, free: 6.309 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002709/0.06087, allocations: 84.56 kB / 391.3 MB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.771e-05/0.06089, allocations: 19.92 kB / 391.3 MB, free: 6.207 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002403/0.06113, allocations: 118.9 kB / 391.4 MB, free: 6.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.749e-05/0.06117, allocations: 35.98 kB / 391.4 MB, free: 6.055 MB / 362.7 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.0001992/0.06136, allocations: 192.4 kB / 391.6 MB, free: 5.855 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.654e-05/0.06146, allocations: 71.53 kB / 391.7 MB, free: 5.785 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.593e-05/0.06153, allocations: 44.97 kB / 391.7 MB, free: 5.742 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.06153, allocations: 4 kB / 391.7 MB, free: 5.738 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.06154, allocations: 0 / 391.7 MB, free: 5.738 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.06154, allocations: 3.984 kB / 391.7 MB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000663/0.06221, allocations: 0.6998 MB / 392.4 MB, free: 5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.06221, allocations: 0 / 392.4 MB, free: 5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.991e-05/0.06228, allocations: 23.98 kB / 392.5 MB, free: 4.977 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.06229, allocations: 4 kB / 392.5 MB, free: 4.973 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.06231, allocations: 16 kB / 392.5 MB, free: 4.957 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.06231, allocations: 3.938 kB / 392.5 MB, free: 4.953 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.06231, allocations: 4 kB / 392.5 MB, free: 4.949 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008565/0.06317, allocations: 0.9712 MB / 393.5 MB, free: 3.957 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.726e-05/0.06324, allocations: 95.03 kB / 393.6 MB, free: 3.863 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.06327, allocations: 4 kB / 393.6 MB, free: 3.859 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.06341, allocations: 15.98 kB / 393.6 MB, free: 3.844 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.202e-05/0.06348, allocations: 31.95 kB / 393.6 MB, free: 3.812 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.06351, allocations: 20 kB / 393.6 MB, free: 3.793 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.506e-05/0.06358, allocations: 167.3 kB / 393.8 MB, free: 3.629 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06358, allocations: 0 / 393.8 MB, free: 3.629 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000601/0.06418, allocations: 375 kB / 394.2 MB, free: 3.262 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium2.completeBubbleDewStates.dewStateOnePhase.state.phase,medium2.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium2.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium2.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,medium1.baseProperties.phaseOutput,medium1.completeState.state.phase,medium1.completeBubbleDewStates.dewStateOnePhase.state.phase,medium1.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium1.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium1.completeBubbleDewStates.bubbleStateTwoPhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 15 * 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.0003408/0.06452, allocations: 190.5 kB / 394.3 MB, free: 3.078 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.06568, allocations: 1.514 MB / 395.9 MB, free: 1.375 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.06569, allocations: 0 / 395.9 MB, free: 1.375 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.06672, allocations: 1.955 MB / 397.8 MB, free: 14.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/0.06833, allocations: 0.5332 MB / 398.3 MB, free: 14.51 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002588/0.07092, allocations: 2.205 MB / 400.5 MB, free: 12.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.0712, allocations: 346.9 kB / 400.9 MB, free: 11.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006577/0.07186, allocations: 370.7 kB / 401.2 MB, free: 11.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.07199, allocations: 100.5 kB / 401.3 MB, free: 11.43 MB / 378.7 MB Notification: Performance of SimCode: time 1.282e-06/0.07199, allocations: 0 / 401.3 MB, free: 11.43 MB / 378.7 MB Notification: Performance of Templates: time 0.02818/0.1002, allocations: 23.71 MB / 425.1 MB, free: 4.055 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.makefile [Timeout 660] (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=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.670153606683016]