Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.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.Misc.RhoSmoothing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing") translateModel(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 102.2 kB / 16.27 MB, free: 6 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.001187/0.001187, allocations: 191 kB / 17.2 MB, free: 5.609 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.397/1.397, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01291/0.01291, allocations: 2.776 MB / 293.8 MB, free: 12.05 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002042, allocations: 67.89 kB / 355.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2194, allocations: 50.24 MB / 405.3 MB, free: 32.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Misc.RhoSmoothing): time 0.01317/0.2326, allocations: 18.88 MB / 424.2 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002234/0.2349, allocations: 3.522 MB / 427.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.055e-05/0.235, allocations: 0 / 427.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007962/0.2358, allocations: 298.3 kB / 428 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.236, allocations: 91.23 kB / 428.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.2373, allocations: 0.6012 MB / 428.7 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.2374, allocations: 182.6 kB / 428.9 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.356e-05/0.2375, allocations: 12.31 kB / 428.9 MB, free: 9.289 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.131e-05/0.2375, allocations: 51.8 kB / 428.9 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.353e-05/0.2376, allocations: 67.59 kB / 429 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.2376, allocations: 0 / 429 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2493/0.4869, allocations: 41.76 MB / 470.8 MB, free: 456 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.258e-05/0.487, allocations: 23.84 kB / 470.8 MB, free: 432 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.4871, allocations: 79.56 kB / 470.9 MB, free: 352 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.4882, allocations: 371.1 kB / 471.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4882, allocations: 0 / 471.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4882, allocations: 3.938 kB / 471.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.4882, allocations: 0 / 471.2 MB, free: 15.97 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0005569/0.4888, allocations: 486.8 kB / 471.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.4888, allocations: 12.03 kB / 471.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.4889, allocations: 28.64 kB / 471.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.4891, allocations: 180 kB / 471.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.4891, allocations: 8.375 kB / 471.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.4891, allocations: 11.94 kB / 471.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/0.4894, allocations: 237 kB / 472.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.4894, allocations: 0 / 472.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.4894, allocations: 3.938 kB / 472.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.4895, allocations: 19.91 kB / 472.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002603/0.4897, allocations: 272.5 kB / 472.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007151/0.4904, allocations: 0.608 MB / 473.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.4907, allocations: 251.1 kB / 473.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.4909, allocations: 237.9 kB / 473.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.294e-05/0.491, allocations: 23.92 kB / 473.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.491, allocations: 38.56 kB / 473.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 9.648e-06/0.491, allocations: 4 kB / 473.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.002817/0.4939, allocations: 0.6817 MB / 474.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.4939, allocations: 55.41 kB / 474.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.257e-05/0.494, allocations: 97.86 kB / 474.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.494, allocations: 25.7 kB / 474.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.555e-05/0.4941, allocations: 97.25 kB / 474.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.4942, allocations: 200.9 kB / 474.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.8e-05/0.4943, allocations: 49.69 kB / 474.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.4944, allocations: 326.8 kB / 475.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.4945, allocations: 168.5 kB / 475.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.4947, allocations: 222.7 kB / 475.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004157/0.4952, allocations: 420.2 kB / 475.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.4952, allocations: 0 / 475.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004737/0.4957, allocations: 455.4 kB / 476.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.4957, allocations: 7.938 kB / 476.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.4957, allocations: 0 / 476.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.4957, allocations: 7.938 kB / 476.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.601e-05/0.4958, allocations: 12 kB / 476.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.4958, allocations: 7.984 kB / 476.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.891e-05/0.4959, allocations: 23.59 kB / 476.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.4959, allocations: 4 kB / 476.4 MB, free: 10.53 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (state_tbl.phase,state_spl.phase,state_std.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 9.482e-05/0.496, allocations: 125.8 kB / 476.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.4961, allocations: 19.81 kB / 476.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004822/0.4965, allocations: 445.2 kB / 477 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-05/0.4966, allocations: 15.97 kB / 477 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4966, allocations: 0 / 477 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.4966, allocations: 0 / 477 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003042/0.4969, allocations: 337.6 kB / 477.4 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.4969, allocations: 0 / 477.4 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.933e-05/0.497, allocations: 11.92 kB / 477.4 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.497, allocations: 4 kB / 477.4 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.497, allocations: 7.938 kB / 477.4 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.497, allocations: 0 / 477.4 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.497, allocations: 0 / 477.4 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004815/0.4975, allocations: 0.5338 MB / 477.9 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.815e-05/0.4975, allocations: 108.6 kB / 478 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.4976, allocations: 7.922 kB / 478 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.747e-05/0.4977, allocations: 3.938 kB / 478 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.197e-05/0.4977, allocations: 11.98 kB / 478 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.4977, allocations: 8 kB / 478 MB, free: 8.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.488e-05/0.4977, allocations: 75.28 kB / 478.1 MB, free: 8.734 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4977, allocations: 0 / 478.1 MB, free: 8.734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004014/0.4982, allocations: 99.98 kB / 478.2 MB, free: 8.637 MB / 350.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: 3 (state_std.phase,state_spl.phase,state_tbl.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0005803/0.4987, allocations: 362 kB / 478.6 MB, free: 8.273 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005366/0.4993, allocations: 490 kB / 479.1 MB, free: 7.789 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4993, allocations: 0 / 479.1 MB, free: 7.789 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002435/0.4996, allocations: 305.1 kB / 479.3 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008494/0.5004, allocations: 128 kB / 479.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007737/0.5012, allocations: 0.6149 MB / 480.1 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.5015, allocations: 0.7689 MB / 480.9 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.315e-05/0.5015, allocations: 15.44 kB / 480.9 MB, free: 5.898 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.5016, allocations: 7.938 kB / 480.9 MB, free: 5.891 MB / 350.1 MB Notification: Performance of Templates: time 0.006304/0.5079, allocations: 4.36 MB / 485.2 MB, free: 1.543 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.Misc.RhoSmoothing.pipe 2>&1)