Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001945/0.001945, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 249.4 MB, free: 3.137 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.01904/0.01904, allocations: 2.803 MB / 307.3 MB, free: 3.223 MB / 238.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.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.CoolProp.Pentane.Pentane_hs_state,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state") translateModel(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 71.83 kB / 428.3 MB, free: 1.848 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2929, allocations: 52.95 MB / 481.3 MB, free: 27.36 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.008034/0.3009, allocations: 8.207 MB / 489.5 MB, free: 21.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006819/0.3016, allocations: 0.941 MB / 490.4 MB, free: 20.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.352e-05/0.3016, allocations: 0 / 490.4 MB, free: 20.73 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002628/0.3019, allocations: 82.16 kB / 490.5 MB, free: 20.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.928e-05/0.3019, allocations: 18.67 kB / 490.5 MB, free: 20.67 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.3022, allocations: 119.6 kB / 490.6 MB, free: 20.6 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 8.56e-05/0.3023, allocations: 51.53 kB / 490.7 MB, free: 20.58 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.485e-05/0.3024, allocations: 3.672 kB / 490.7 MB, free: 20.58 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.044e-05/0.3024, allocations: 22.06 kB / 490.7 MB, free: 20.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.969e-05/0.3024, allocations: 15.52 kB / 490.7 MB, free: 20.56 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.277e-06/0.3025, allocations: 3.062 kB / 490.7 MB, free: 20.56 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1086/0.4111, allocations: 13.7 MB / 0.4926 GB, free: 14.15 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.937e-05/0.4111, allocations: 6.438 kB / 0.4926 GB, free: 14.15 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.76e-05/0.4112, allocations: 24.56 kB / 0.4926 GB, free: 14.14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004271/0.4116, allocations: 88.84 kB / 0.4927 GB, free: 14.1 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4116, allocations: 0 / 0.4927 GB, free: 14.1 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4116, allocations: 1.656 kB / 0.4927 GB, free: 14.1 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.4116, allocations: 0 / 0.4927 GB, free: 14.1 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004097/0.412, allocations: 358.5 kB / 0.4931 GB, free: 13.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.4121, allocations: 13.09 kB / 0.4931 GB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.4122, allocations: 24.36 kB / 0.4931 GB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.772e-05/0.4123, allocations: 167.3 kB / 0.4933 GB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.4123, allocations: 1.75 kB / 0.4933 GB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.4123, allocations: 6.688 kB / 0.4933 GB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.4125, allocations: 65.17 kB / 0.4933 GB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.4125, allocations: 0 / 0.4933 GB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.4125, allocations: 4.969 kB / 0.4933 GB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.4125, allocations: 6.688 kB / 0.4933 GB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.744e-05/0.4126, allocations: 35.61 kB / 0.4934 GB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.413, allocations: 320.4 kB / 0.4937 GB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.745e-05/0.4131, allocations: 32.67 kB / 0.4937 GB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.921e-05/0.4131, allocations: 25.89 kB / 0.4937 GB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.4131, allocations: 1.844 kB / 0.4937 GB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.4131, allocations: 31.22 kB / 0.4938 GB, free: 13.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.042e-06/0.4131, allocations: 1.25 kB / 0.4938 GB, free: 13.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.000258/0.4134, allocations: 119.8 kB / 0.4939 GB, free: 12.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.4134, allocations: 52.5 kB / 0.4939 GB, free: 12.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.61e-05/0.4134, allocations: 94.56 kB / 0.494 GB, free: 12.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.4135, allocations: 25.7 kB / 0.494 GB, free: 12.76 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.019e-05/0.4135, allocations: 81.84 kB / 0.4941 GB, free: 12.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.4135, allocations: 55 kB / 0.4942 GB, free: 12.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.4135, allocations: 21.5 kB / 0.4942 GB, free: 12.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.202e-05/0.4136, allocations: 323 kB / 0.4945 GB, free: 12.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.189e-05/0.4136, allocations: 20.19 kB / 0.4945 GB, free: 12.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.796e-05/0.4137, allocations: 18 kB / 0.4945 GB, free: 12.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.815e-05/0.4137, allocations: 60.19 kB / 0.4946 GB, free: 12.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4137, allocations: 1.125 kB / 0.4946 GB, free: 12.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001225/0.4139, allocations: 93.28 kB / 0.4947 GB, free: 12.17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.4139, allocations: 5.312 kB / 0.4947 GB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.4139, allocations: 1.641 kB / 0.4947 GB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.4139, allocations: 0 / 0.4947 GB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.725e-05/0.414, allocations: 4.047 kB / 0.4947 GB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.414, allocations: 4 kB / 0.4947 GB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.533e-05/0.414, allocations: 9.406 kB / 0.4947 GB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.414, allocations: 1.891 kB / 0.4947 GB, free: 12.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (fluid.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.778e-05/0.4141, allocations: 109.1 kB / 0.4948 GB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.4141, allocations: 6.234 kB / 0.4948 GB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.302e-05/0.4141, allocations: 14.3 kB / 0.4948 GB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.4141, allocations: 0 / 0.4948 GB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.4141, allocations: 2.281 kB / 0.4948 GB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.4141, allocations: 3.938 kB / 0.4948 GB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.4143, allocations: 196.9 kB / 0.495 GB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4143, allocations: 6.031 kB / 0.495 GB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/0.4143, allocations: 2.438 kB / 0.495 GB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4143, allocations: 0.8438 kB / 0.495 GB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.619e-06/0.4143, allocations: 1.469 kB / 0.495 GB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4143, allocations: 0 / 0.495 GB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.4143, allocations: 1.25 kB / 0.495 GB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.4145, allocations: 188.8 kB / 0.4952 GB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.921e-05/0.4145, allocations: 83.41 kB / 0.4953 GB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.4145, allocations: 1.531 kB / 0.4953 GB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.104e-05/0.4146, allocations: 0 / 0.4953 GB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.187e-05/0.4146, allocations: 6.703 kB / 0.4953 GB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.4146, allocations: 10.38 kB / 0.4953 GB, free: 11.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 1.945e-05/0.4146, allocations: 75.28 kB / 0.4954 GB, free: 11.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4146, allocations: 0 / 0.4954 GB, free: 11.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.4149, allocations: 25.73 kB / 0.4954 GB, free: 11.45 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (fluid.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0003128/0.4152, allocations: 135.7 kB / 0.4955 GB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002224/0.4154, allocations: 100.5 kB / 0.4956 GB, free: 11.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4154, allocations: 5.156 kB / 0.4956 GB, free: 11.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.653e-05/0.4155, allocations: 80.92 kB / 0.4957 GB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.4167, allocations: 36.53 kB / 0.4958 GB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004882/0.4172, allocations: 267 kB / 0.496 GB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.4174, allocations: 0.7148 MB / 0.4967 GB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.522e-05/0.4175, allocations: 21.8 kB / 0.4967 GB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.571e-05/0.4175, allocations: 19.12 kB / 0.4967 GB, free: 10.29 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4175, allocations: 0 / 0.4967 GB, free: 10.29 MB / 366.1 MB Notification: Performance of Templates: time 0.006692/0.4242, allocations: 2.244 MB / 0.4989 GB, free: 10.01 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.245159612968564]