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.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.CoolProp.CO2.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, 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.001359/0.00136, allocations: 193.8 kB / 16.13 MB, free: 6.652 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.305/1.305, allocations: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1287/0.1287, allocations: 2.759 MB / 292.7 MB, free: 3.777 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001014/0.001014, allocations: 63.89 kB / 353.7 MB, free: 5.066 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08718/0.08821, allocations: 50.23 MB / 404 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit): time 0.1854/0.2736, allocations: 50.46 MB / 454.4 MB, free: 21.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01714/0.2908, allocations: 28.98 MB / 483.4 MB, free: 336 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007714/0.2916, allocations: 11 kB / 483.4 MB, free: 328 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001558/0.2932, allocations: 0.5679 MB / 484 MB, free: 28 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005741/0.299, allocations: 2.064 MB / 486 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007271/0.3063, allocations: 2.716 MB / 488.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001076/0.3074, allocations: 0.9793 MB / 489.7 MB, free: 12.85 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.3075, allocations: 58 kB / 489.8 MB, free: 12.82 MB / 366.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.6909/0.9983, allocations: 46.47 MB / 0.5237 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007462/0.9991, allocations: 294.6 kB / 0.524 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.594e-05/0.9992, allocations: 20 kB / 0.524 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3558/1.355, allocations: 24.77 MB / 0.5482 GB, free: 5.148 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002231/1.355, allocations: 91.48 kB / 0.5483 GB, free: 5.059 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005757/1.356, allocations: 326.4 kB / 0.5486 GB, free: 4.738 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006725/1.363, allocations: 1.824 MB / 0.5504 GB, free: 2.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/1.363, allocations: 0 / 0.5504 GB, free: 2.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.072e-06/1.363, allocations: 0 / 0.5504 GB, free: 2.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.407e-05/1.363, allocations: 0 / 0.5504 GB, free: 2.91 MB / 414.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.001633/1.364, allocations: 1.104 MB / 0.5514 GB, free: 1.762 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/1.364, allocations: 12.03 kB / 0.5514 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002016/1.366, allocations: 0.4996 MB / 0.5519 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004286/1.367, allocations: 335.5 kB / 0.5523 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.819e-05/1.367, allocations: 50.05 kB / 0.5523 GB, free: 0.832 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.683e-05/1.367, allocations: 52 kB / 0.5523 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/1.368, allocations: 0.8723 MB / 0.5532 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/1.369, allocations: 3.938 kB / 0.5532 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.599e-05/1.369, allocations: 28 kB / 0.5532 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.683e-05/1.369, allocations: 31.98 kB / 0.5533 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/1.37, allocations: 0.7039 MB / 0.5539 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004146/1.374, allocations: 5.137 MB / 0.559 GB, free: 9.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006646/1.375, allocations: 329.7 kB / 0.5593 GB, free: 9 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002882/1.375, allocations: 221.7 kB / 0.5595 GB, free: 8.777 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001437/1.377, allocations: 1.542 MB / 0.561 GB, free: 7.062 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/1.377, allocations: 42.5 kB / 0.561 GB, free: 7.012 MB / 430.1 MB Notification: Performance of pre-optimization done (n=71): time 2.074e-06/1.377, allocations: 4 kB / 0.561 GB, free: 7.008 MB / 430.1 MB Notification: Performance of matching and sorting (n=71): time 0.001444/1.378, allocations: 0.5962 MB / 0.5616 GB, free: 6.406 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/1.378, allocations: 85.11 kB / 0.5617 GB, free: 6.305 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/1.378, allocations: 186.1 kB / 0.5619 GB, free: 6.113 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/1.378, allocations: 29.64 kB / 0.5619 GB, free: 6.078 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/1.378, allocations: 283.5 kB / 0.5622 GB, free: 5.793 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/1.379, allocations: 236.4 kB / 0.5624 GB, free: 5.559 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/1.379, allocations: 101.9 kB / 0.5625 GB, free: 5.453 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/1.379, allocations: 342.8 kB / 0.5628 GB, free: 5.109 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002367/1.379, allocations: 121.3 kB / 0.5629 GB, free: 4.992 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003313/1.379, allocations: 296 kB / 0.5632 GB, free: 4.625 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006347/1.38, allocations: 0.4887 MB / 0.5637 GB, free: 4.059 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/1.38, allocations: 4 kB / 0.5637 GB, free: 4.055 MB / 430.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007415/1.381, allocations: 480.8 kB / 0.5642 GB, free: 3.578 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/1.381, allocations: 8 kB / 0.5642 GB, free: 3.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/1.381, allocations: 8.016 kB / 0.5642 GB, free: 3.562 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/1.381, allocations: 8 kB / 0.5642 GB, free: 3.555 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003449/1.381, allocations: 87.83 kB / 0.5643 GB, free: 3.469 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005726/1.382, allocations: 1.18 MB / 0.5654 GB, free: 2.242 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003604/1.382, allocations: 83.36 kB / 0.5655 GB, free: 2.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.278e-05/1.382, allocations: 16 kB / 0.5655 GB, free: 2.145 MB / 430.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.000255/1.383, allocations: 197.6 kB / 0.5657 GB, free: 1.941 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.877e-05/1.383, allocations: 31.56 kB / 0.5657 GB, free: 1.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001777/1.384, allocations: 1.343 MB / 0.5671 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001294/1.386, allocations: 1.146 MB / 0.5682 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/1.386, allocations: 4 kB / 0.5682 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/1.386, allocations: 3.984 kB / 0.5682 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003155/1.389, allocations: 2.498 MB / 0.5706 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/1.389, allocations: 4 kB / 0.5706 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003407/1.389, allocations: 115.8 kB / 0.5707 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000421/1.39, allocations: 305.3 kB / 0.571 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/1.39, allocations: 16 kB / 0.571 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007769/1.391, allocations: 1.269 MB / 0.5723 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.391, allocations: 0 / 0.5723 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/1.392, allocations: 1.162 MB / 0.5734 GB, free: 9.883 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/1.392, allocations: 144.1 kB / 0.5736 GB, free: 9.723 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.316e-05/1.392, allocations: 16 kB / 0.5736 GB, free: 9.707 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004034/1.393, allocations: 87.5 kB / 0.5736 GB, free: 9.621 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.399e-05/1.393, allocations: 44.22 kB / 0.5737 GB, free: 9.578 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/1.393, allocations: 19.94 kB / 0.5737 GB, free: 9.559 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001153/1.393, allocations: 128.7 kB / 0.5738 GB, free: 9.434 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/1.393, allocations: 3.938 kB / 0.5738 GB, free: 9.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008215/1.394, allocations: 219.4 kB / 0.574 GB, free: 9.215 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: 5 (medium1.completeState.state.phase,$cse4.phase,medium2.completeState.state.phase,$cse2.phase,medium2.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0005293/1.394, allocations: 312.7 kB / 0.5743 GB, free: 8.898 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001172/1.395, allocations: 0.7653 MB / 0.5751 GB, free: 8.105 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.395, allocations: 0 / 0.5751 GB, free: 8.105 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005325/1.396, allocations: 378.6 kB / 0.5755 GB, free: 7.738 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/1.398, allocations: 328.7 kB / 0.5758 GB, free: 7.418 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/1.4, allocations: 1.668 MB / 0.5774 GB, free: 5.723 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005919/1.4, allocations: 0.9601 MB / 0.5783 GB, free: 4.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004605/1.401, allocations: 113.2 kB / 0.5784 GB, free: 4.621 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.642e-05/1.401, allocations: 55.36 kB / 0.5785 GB, free: 4.566 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/1.401, allocations: 0 / 0.5785 GB, free: 4.566 MB / 446.1 MB Notification: Performance of Templates: time 0.1621/1.563, allocations: 12.97 MB / 0.5912 GB, free: 141.6 MB / 446.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.makefile (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 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe 2>&1)