Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.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.001868/0.001868, allocations: 84.44 kB / 19.76 MB, free: 2.023 MB / 14.72 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.002276/0.002276, allocations: 154.5 kB / 23.01 MB, free: 4.961 MB / 14.72 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.422/1.422, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.02386/0.02386, allocations: 1.997 MB / 261.8 MB, free: 14.68 MB / 254.1 MB " [Timeout remaining time 180] 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.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.CoolProp.CO2.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit") [Timeout 660] "Notification: ExternalMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 63.89 kB / 385.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09284/0.09493, allocations: 54.14 MB / 439.8 MB, free: 12.17 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit): time 0.2981/0.393, allocations: 45.43 MB / 485.2 MB, free: 49.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0187/0.4117, allocations: 25.14 MB / 0.4984 GB, free: 47.15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006191/0.4123, allocations: 6.281 kB / 0.4984 GB, free: 47.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001915/0.4142, allocations: 0.4966 MB / 0.4989 GB, free: 47.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005986/0.4202, allocations: 2.198 MB / 0.501 GB, free: 45.89 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.medium1.Medium.setSat_p'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.007411/0.4276, allocations: 2.884 MB / 0.5039 GB, free: 44.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00134/0.429, allocations: 0.9387 MB / 0.5048 GB, free: 44.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.4291, allocations: 25.16 kB / 0.5048 GB, free: 44.06 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Common/CheckCoolPropOptions.mo:2:1-104:25:writable] Warning: Pure function 'ExternalMedia.Common.CheckCoolPropOptions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFEvalConstants.evaluate: time 0.4413/0.8704, allocations: 51.37 MB / 0.555 GB, free: 16.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007901/0.8712, allocations: 289.7 kB / 0.5552 GB, free: 16.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.178e-05/0.8713, allocations: 40 kB / 0.5553 GB, free: 16.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2233/1.095, allocations: 27.05 MB / 0.5817 GB, free: 6.945 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003373/1.095, allocations: 112 kB / 0.5818 GB, free: 6.852 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007565/1.096, allocations: 273.3 kB / 0.5821 GB, free: 6.598 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007252/1.103, allocations: 1.86 MB / 0.5839 GB, free: 5.055 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/1.103, allocations: 3.938 kB / 0.5839 GB, free: 5.051 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.723e-06/1.103, allocations: 3.938 kB / 0.5839 GB, free: 5.047 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.963e-05/1.103, allocations: 0 / 0.5839 GB, free: 5.047 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002536/1.105, allocations: 1.052 MB / 0.5849 GB, free: 4.055 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/1.106, allocations: 8.031 kB / 0.5849 GB, free: 4.047 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002292/1.108, allocations: 0.4958 MB / 0.5854 GB, free: 3.672 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002274/1.11, allocations: 280.5 kB / 0.5857 GB, free: 3.402 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.529e-05/1.11, allocations: 46.06 kB / 0.5857 GB, free: 3.359 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.393e-05/1.11, allocations: 56 kB / 0.5858 GB, free: 3.305 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/1.112, allocations: 0.9797 MB / 0.5867 GB, free: 2.383 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/1.112, allocations: 7.938 kB / 0.5867 GB, free: 2.375 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-05/1.112, allocations: 27.98 kB / 0.5868 GB, free: 2.348 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-05/1.112, allocations: 31.94 kB / 0.5868 GB, free: 2.32 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/1.114, allocations: 0.7172 MB / 0.5875 GB, free: 1.695 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003766/1.117, allocations: 2.696 MB / 0.5901 GB, free: 15.08 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007497/1.118, allocations: 269 kB / 0.5904 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003026/1.119, allocations: 163.1 kB / 0.5905 GB, free: 14.64 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001361/1.12, allocations: 0.8878 MB / 0.5914 GB, free: 13.73 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.42e-05/1.12, allocations: 38.56 kB / 0.5914 GB, free: 13.68 MB / 478.1 MB Notification: Performance of pre-optimization done (n=71): time 2.524e-06/1.12, allocations: 4 kB / 0.5915 GB, free: 13.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=71): time 0.001748/1.122, allocations: 0.6044 MB / 0.592 GB, free: 13.07 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.473e-05/1.122, allocations: 85.05 kB / 0.5921 GB, free: 12.97 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/1.122, allocations: 190.9 kB / 0.5923 GB, free: 12.77 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.819e-05/1.122, allocations: 25.7 kB / 0.5923 GB, free: 12.74 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/1.122, allocations: 296.4 kB / 0.5926 GB, free: 12.45 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000213/1.122, allocations: 241.8 kB / 0.5928 GB, free: 12.21 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/1.123, allocations: 93.97 kB / 0.5929 GB, free: 12.11 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/1.123, allocations: 350.8 kB / 0.5933 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000251/1.123, allocations: 117.3 kB / 0.5934 GB, free: 11.64 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000413/1.123, allocations: 307.9 kB / 0.5937 GB, free: 11.27 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007126/1.124, allocations: 480.8 kB / 0.5941 GB, free: 10.72 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/1.124, allocations: 3.938 kB / 0.5941 GB, free: 10.71 MB / 478.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001352/1.126, allocations: 492.2 kB / 0.5946 GB, free: 10.23 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/1.126, allocations: 11.94 kB / 0.5946 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/1.126, allocations: 8 kB / 0.5946 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.806e-05/1.126, allocations: 12.66 kB / 0.5946 GB, free: 10.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003948/1.126, allocations: 83.89 kB / 0.5947 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009486/1.127, allocations: 1.172 MB / 0.5959 GB, free: 8.895 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/1.127, allocations: 67.44 kB / 0.5959 GB, free: 8.828 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/1.127, allocations: 16 kB / 0.5959 GB, free: 8.812 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput,medium1.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0003093/1.128, allocations: 197.6 kB / 0.5961 GB, free: 8.609 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.604e-05/1.128, allocations: 31.77 kB / 0.5962 GB, free: 8.578 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.183e-05/1.128, allocations: 34.64 kB / 0.5962 GB, free: 8.543 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/1.128, allocations: 4.188 kB / 0.5962 GB, free: 8.539 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/1.128, allocations: 0 / 0.5962 GB, free: 8.539 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/1.128, allocations: 7.938 kB / 0.5962 GB, free: 8.531 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006108/1.128, allocations: 343.6 kB / 0.5965 GB, free: 8.168 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.128, allocations: 0 / 0.5965 GB, free: 8.168 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/1.129, allocations: 43.91 kB / 0.5966 GB, free: 8.125 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/1.129, allocations: 4 kB / 0.5966 GB, free: 8.121 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/1.129, allocations: 8 kB / 0.5966 GB, free: 8.113 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007099/1.129, allocations: 1.164 MB / 0.5977 GB, free: 6.902 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/1.129, allocations: 3.938 kB / 0.5977 GB, free: 6.898 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007175/1.13, allocations: 0.5179 MB / 0.5982 GB, free: 6.363 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-05/1.13, allocations: 39.81 kB / 0.5983 GB, free: 6.324 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/1.13, allocations: 0 / 0.5983 GB, free: 6.324 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/1.13, allocations: 11.94 kB / 0.5983 GB, free: 6.312 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.003e-05/1.13, allocations: 19.97 kB / 0.5983 GB, free: 6.293 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/1.13, allocations: 4 kB / 0.5983 GB, free: 6.289 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001212/1.131, allocations: 119.2 kB / 0.5984 GB, free: 6.172 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/1.131, allocations: 4.094 kB / 0.5984 GB, free: 6.168 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000786/1.131, allocations: 203.4 kB / 0.5986 GB, free: 5.969 MB / 478.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: 3 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.0007795/1.132, allocations: 313 kB / 0.5989 GB, free: 5.652 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001186/1.133, allocations: 0.565 MB / 0.5995 GB, free: 5.066 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/1.133, allocations: 0 / 0.5995 GB, free: 5.066 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00073/1.134, allocations: 483.9 kB / 0.5999 GB, free: 4.531 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/1.135, allocations: 193.1 kB / 0.6001 GB, free: 4.348 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/1.138, allocations: 1.072 MB / 0.6012 GB, free: 3.246 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005086/1.138, allocations: 360.6 kB / 0.6015 GB, free: 2.863 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005037/1.139, allocations: 219.8 kB / 0.6017 GB, free: 2.648 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.743e-05/1.139, allocations: 44.5 kB / 0.6018 GB, free: 2.605 MB / 478.1 MB Notification: Performance of SimCode: time 8.82e-07/1.139, allocations: 0 / 0.6018 GB, free: 2.605 MB / 478.1 MB Notification: Performance of Templates: time 0.02552/1.164, allocations: 11 MB / 0.6125 GB, free: 7.621 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.634267695015296] Failed to read output from testmodel.py, exit status != 0: 1.1747218740638345 1.204839582 0.095597468 Calling exit ...